spconvert
Import from sparse matrix external format
Syntax
Description
S = spconvert( constructs
sparse matrix D)S from the columns of D in
a manner similar to the sparse function.
If
Dis of sizeN-by-3, thenspconvertuses the columns[i,j,re]ofDto constructS, such thatS(i(k), j(k)) = re(k).If
Dis of sizeN-by-4, thenspconvertuses the columns[i,j,re,im]ofDto constructS, such thatS(i(k), j(k)) = re(k) + 1i*im(k).
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006a