Store 'sparse double' data

4 visualizaciones (últimos 30 días)
Pietro Lindia
Pietro Lindia el 27 de Mzo. de 2015
Editada: James Tursa el 27 de Mzo. de 2015
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 comentario
James Tursa
James Tursa el 27 de Mzo. de 2015
Editada: James Tursa el 27 de Mzo. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Sparse Matrices en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by