10.07.2015 Views

2011 Práctica N 4 Laboratorio Sistemas de ecuaciones lineales 1 ...

2011 Práctica N 4 Laboratorio Sistemas de ecuaciones lineales 1 ...

2011 Práctica N 4 Laboratorio Sistemas de ecuaciones lineales 1 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

and("seed", 1.0)v = 5/(n-1) * (0:n-1)D = (10 .** v)A = eye(n) + 0.01*rand(n,n) ← A = I + pequeña perturbación.[Q R] = qr(A) ← Descomposicion QR (Q unitaria, R triangular)A = Q’*diag(D)*QPara medir el tiempo <strong>de</strong> cálculo agregue las siguientes lineas a su programat1 = time();#Justo antes <strong>de</strong> empezar a resolvert2 = time() - t1#Justo <strong>de</strong>spues <strong>de</strong> resolver

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!