Store 'sparse double' data

조회 수: 1 (최근 30일)
Pietro Lindia
Pietro Lindia 2015년 3월 27일
편집: James Tursa 2015년 3월 27일
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
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개)

카테고리

Help CenterFile Exchange에서 Sparse Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by