I have found some problems in building a sparse matrix from a
sparse vector that contains the matrix entries. This is what I am
Name Size Elements Bytes Density ComplexQuote:>> whos
ans 1 by 1 1 8 Full No
i 4585 by 1 4585 36680 Full No
j 4585 by 1 4585 36680 Full No
x 515 by 668 4585 57692 0.0133 No
z 4585 by 1 3764 45172 0.8209 No
WARNING: Possible memory leak.Quote:>> y = sparse(i,j,z,size(x,1),size(x,2));
Freeing element at address 0x40328b88 with allocation count 64777
Freeing element at address 0x402dcbb0 with allocation count 64776
And I receive this awful message!!!
Can anybody help me to figure where the problem is?