Community Profile

photo

Martin


Massachusetts Institute of Technology

Active since 2012

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Answered
How to quickly accumulate values into sparse matrix from very large row,col and value arrays containing duplicates indices?
Just found the answer: A=sparse(I,J,val); does the trick (it actually accumulates at duplicated index values).

11 years ago | 0

| accepted

Question


How to quickly accumulate values into sparse matrix from very large row,col and value arrays containing duplicates indices?
Hi, I'd like to fill a large (sparse) matrix. I have three very long arrays of rowidx, colidx and values. row col combinatio...

11 years ago | 1 answer | 0

1

answer