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 RandStreammtar'Seed',;
A rrandnirrandn; here i represents the unit imaginary number
Using the eig command in MATLAB, compute the matrices V and D such that A VDinvV Recall the the first column of V corresponds to the first eigenvalue D The second column of V corresponds to the second eigenvalue D 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 VDinvV still holds check this! Then save:
The real part of V as A
The imaginary part of V as A
The real part of D as A
The imaginary part of D as A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
