Question

First create a matrix of dimension (5×5) using random numbers. Hint: You can use Matlab function "rand" to do this. Now, we want to calculate eigen vector and eigenvalue of

this matrix. Find the eigenvector and eigenvalue of this matrix using Matlab command “eig". Please use the following code to do this [P,Q]=eig(your matrix). Two new variables “P" and “Q" will be generated in your Matlab workspace. What are the dimension and type of "P" and"Q". One of these is eigenvalue and another one is eigenvector. Identify them.

Question image 1Question image 2Question image 3