MATLAB Answers

Invisible data? Where are they stored?

조회 수: 1(최근 30일)
Paul Rogers
Paul Rogers 10 May 2020
편집: Paul Rogers 10 May 2020
Hi everyone, I wrote a code from a tool I am not expert about at all (chebfun).
I managed to make it work and run.
What I am missing now (maybe I am wrong) is that I expeted some values (a matrix to be precise),
but I can't find them.
The only place they could be is here:
but when I open cols and rows I see only empty cells, like this:
Is it possile to see those numbers (coefficient)?

  댓글 수: 0

댓글을 달려면 로그인하십시오.

답변(1개)

Guillaume
Guillaume 10 May 2020
"from a tool" Is this tool public? Can we see its documentation or download it somewhere? If not, it's going to be difficult to help you.
All we can say is that approximationResult is an object of class chebfun2 and that cols and rows are objects of class chebfun. They're all custom classes so the author may have customised the way they're displayed. And they must have or there's a major bug in there code since the size of the objects are reported negative. Negative sizes shouldn't be possible so I strongly suspect a bug somewhere in their code. The fact that the size reported is -9223372036854775808 which is the largest negative integer of type int64 is also a strong hint of a bug.
I'm afraid here, you'll have to contact the author of the tool to get them to fix their tool (and document it better probably).

  댓글 수: 1

Paul Rogers
Paul Rogers 10 May 2020
yes it's an open source tool, the tool is this:
I really don't know much about, I've just learn a few commands for what I need and it works, but I am still missing the coefficient I was looking for.
That's their website:
https://www.chebfun.org/

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by