What is the output of the following command? spalloc(2,3, 7) A. Error B. A 3*2 sparse matrix C. Memory is allocated for a 2*3 sparse matrix D. A 2*3 sparse matrix Answer Workspace Report Discuss Answer with explanation Answer: Option C Explanation The correct answer is Memory is allocated for a 2*3 sparse matrix The scallops command will allocate memory for the 2*3 matrix due to the above code. There will be no error. Workspace
Discuss about the question