photo

Syed Zuhair Ali Razvi


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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 mat=sparse2matrix(cellvec) m1=zeros(cellvec{1}); m2=cellvec{2}+m1; if length(cellvec)<=2 mat=m2; else for i...

4 years ago | 0