Gistlib Logo

gistlib

other matlab categories

sparse matrices code snippets in matlab

the function mat2coord should take an n × n array representing a matrix a ∈ r n×n and return the sparse coordinate representation encoded by the three arrays, d, ridx, and cidx in matlab

gistlibby LogSnag