Finding eigenvalues and eigenvectors using MATLAB -
I'm having problems finding the eigenvalues and eigenvectors using the command in MATLAB. My lecturer did not want us to use eig
instead he asked us to use Nulsspace, but when I run my order, the output is an empty matrix. This code is:
A = 'C: \ documents and settings \ user \ desktop \ testproject.jpg'; B = blank (A, 'jpg'); C = RGB 2g (B); Imshow (c); D = IM 2 double (C); F = Transfer (D); G = F * D; H = poly (g); R = Roots (H); M = Null (R)
The purpose of this code is to find SVD, so to find singular values and matrix u and v.
Comments
Post a Comment