The simplest thing to do is to read the file and then create vectors that you can pass to `sparse(I,J,V)`, where I is the vector of row indices, J of column indices, and V of values.
-viral
On Friday, July 25, 2014 1:29:07 AM UTC+5:30, paul analyst wrote:
>
> how to read data from a file to a new sparse matrix? date = readcsv ("
> data.txt")
> Paul
>
>
