S = spconvert(D)
| Parameter | Description |
|---|---|
| D | a full m-by-3 or m-by-4 double matrix. |
| Parameter | Description |
|---|---|
| S | a sparse double or complex double matrix. |
spconvert builds a sparse matrix from rows [i j v]. With four columns, rows are interpreted as [i j real imag].
D = [1 1 10; 2 3 20; 3 2 30];
S = spconvert(D)
| Version | Description |
|---|---|
| 2.0.0 | initial version |