![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18210237_1587301338968_DEF.jpg)
Saibalaji Kokate
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 ans=sparse2matrix(m) x=m{1,1}; class(x) val=m{1,2}; mat=repmat(val,x); len=length(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 ans=sparse2matrix(m) x=m{1,1}; class(x) val=m{1,2}; mat=repmat(val,x); len=length(m); ...
4 years 前 | 0