Computational time of qr, svd and eig in MATLAB?

47 Views Asked by At

How does the time for qr depend on the dimensions of the matrix m and n (does it depend on on the type of linear systems: overdetermined and underdetermined?) How about svd and eig? Does the time depend on whether you ask only for the eigenvalues (as in E=eig(A)) or also for the eigenvectors (as in [V,E]=eig(A))?I tried to do that using tic and toc, but couldn't find any relationship between the computational time and m,n...