1.

What is the attribute of sparse matrices?(a) sparse(b) double(c) vector(d) no attributeI have been asked this question in an interview for internship.Question is from Sparse Matrices topic in section Beyond the Basics of MATLAB

Answer» RIGHT option is (a) sparse

The explanation is: The ATTRIBUTE of a sparse matrix will be sparse while the class of the attribute is double, by DEFAULT. HENCE, sparse is correct.


Discussion

No Comment Found

Related InterviewSolutions