Create the vectors I J V which holds the nonzero rows, columns and values 
respectively and then call sparse(I, J, V). 

Reply via email to