# of elements mismatch

3 Ansichten (letzte 30 Tage)
Fan Yang
Fan Yang am 21 Okt. 2019
Bearbeitet: Mani Sharma am 5 Dez. 2019
Hi you all,
I have a cell array named tlthat only has 96 elements in the fist column, and those are all the element in this array, but why does the Value shows a 97 by 1 cell in the workspace?
Best,
Fan

Akzeptierte Antwort

James Tursa
James Tursa am 21 Okt. 2019
I'm guessing that the 97th element is empty. What does this show:
tl{97}

Weitere Antworten (2)

Mani Sharma
Mani Sharma am 21 Okt. 2019
Bearbeitet: Mani Sharma am 5 Dez. 2019
Thanks for this information. It is useful read about card generator from here.

Fan Yang
Fan Yang am 21 Okt. 2019
Thanks for your answer!
You are abslutely right. It is an 0 X 0 empty char array, but how did this empty cell sneak into this variable?

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by