Store 'sparse double' data
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone, My question is the following: I have some 'sparse double' data as output, that is to say the Jacobian matrix coming from the lsqnonlin estimation, and I need to store it for every estimation I run. In other terms, I have a loop trough which I perform 200 estimation with lsqnonlin and for every estimation I need to keep track of the Jacobian matrix that comes out. The question is: how to do it? Indeed, I've checked the MatLab instructions for this kind of data but it only tells you how to prestore data in sparse double. I have also tried with 'cell(200)' but it gives error ('cell' is not able to store this kind of data). Is there any alternative? I kindly thank you all in advance.
1 件のコメント
James Tursa
2015 年 3 月 27 日
編集済み: James Tursa
2015 年 3 月 27 日
You certainly can store sparse matrices in cell arrays. Please show the code you are using to do this and we can help with the syntax. MATLAB does not support nD sparse arrays, but there is an FEX submission that can do it if you want to go that route instead.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!