1.

The command to find the eigen vector of a matrix in matrix form is _____________(a) eig(a,matrix)(b) eig(a,’matrix’)(c) eigen(a,matr)(d) eig(a)The question was posed to me in an interview.My question is from Linear Systems in chapter Beyond the Basics of MATLAB

Answer»

Right ANSWER is (b) eig(a,’matrix’)

Easy explanation: The in-built FUNCTION to find the eigen values of any matrix in MATLAB is eig(a). But, to display the result in matrix FORM- we use eig(a,’matrix’). This NATURE of the eig command is in-built in MATLAB.



Discussion

No Comment Found

Related InterviewSolutions