Question: Using eig Consider the complex matrix r = RandStream ( ' mt 1 9 9 3 7 ar ' , 'Seed', 1 2 3 4

Using eig
Consider the complex matrix
r = RandStream('mt19937ar','Seed',1234);
A = r.randn(10,10)+1i*r.randn(10,10); (here i represents the unit imaginary number)
Using the eig command in MATLAB, compute the matrices V and D such that A = V*D*inv(V). Recall the the first column of V corresponds to the first eigenvalue D(1,1). The second column of V corresponds to the second eigenvalue D(2,2), and so on.
Reorder the diagonal entries of D so that the real part is increasing down the diagonal (it may be useful to use the real and imag commands on MATLAB). Reorder the columns of V accordingly so that A = V*D*inv(V) still holds (check this!). Then save:
The real part of V as A7
The imaginary part of V as A8
The real part of D as A9
The imaginary part of D as A10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!