I have the data in a dense array with a million zeros (in csv). How to the
data load to sparse array?
Paul
W dniu niedziela, 27 lipca 2014 13:59:47 UTC+2 użytkownik Viral Shah
napisał:
>
> 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
>>
>>