1.

The space located for the matrix generated from the spones command is _______(a) Same as a sparse matrix(b) Same as the original matrix(c) Same as an identity matrix(d) Double that of the sparse matrixThis question was posed to me by my college director while I was bunking the class.My question is from Sparse Matrices in chapter Beyond the Basics of MATLAB

Answer»

Correct ANSWER is (a) Same as a sparse MATRIX

To elaborate: The spones command also CREATES a sparse matrix. Hence, the NEWLY generated matrix will have the same size as that of a sparse matrix.



Discussion

No Comment Found

Related InterviewSolutions