Raymond He
Followers: 0 Following: 0
Feeds
已回答
Write a function called sparse2matrix that takes a single input of a cell vector as defined above and returns the output argument called matrix, the matrix in its traditional form
function matrix = sparse2matrix(a) matrix = a{2}(1,1) * ones(a{1}(1,1),a{1}(1,2)); for i = 3:length(a) m...
Write a function called sparse2matrix that takes a single input of a cell vector as defined above and returns the output argument called matrix, the matrix in its traditional form
function matrix = sparse2matrix(a) matrix = a{2}(1,1) * ones(a{1}(1,1),a{1}(1,2)); for i = 3:length(a) m...
4 years 前 | 0