Use findnz(S) to get the triples, and then save that to a file with 
writecsv().

-viral

On Sunday, July 27, 2014 9:17:39 PM UTC+5:30, paul analyst wrote:
>
> How to save sparse array to csv 
> [1, 4] = 1 
> [4, 7] = 2 
> [5, 9] = 3 
> [3, 18] = -5 
> ?
> Paul
>

Reply via email to