Store 'sparse double' data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
James Tursa
le 27 Mar 2015
Modifié(e) : James Tursa
le 27 Mar 2015
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Sparse Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!