Community Profile

photo

Ved Prakash


Last seen: circa 3 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
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(P) r=P{1}(1); c=P{1}(2); D=P{2}*ones(r,c); for i=3:length(P) D(P{i}(1),P{i}(2))=P{i}(...

quasi 4 anni fa | 0