MATLAB Answers

Fan Yang
0

# of elements mismatch

Asked by Fan Yang
on 21 Oct 2019 at 21:54
Latest activity Answered by Fan Yang
on 21 Oct 2019 at 23:20
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

  0 Comments

Sign in to comment.

Products

3 Answers

James Tursa
Answer by James Tursa
on 21 Oct 2019 at 22:00
 Accepted Answer

I'm guessing that the 97th element is empty. What does this show:
tl{97}

  0 Comments

Sign in to comment.


Answer by Mani Sharma on 21 Oct 2019 at 22:05

Thanks for this information. It useful

  0 Comments

Sign in to comment.


Fan Yang
Answer by Fan Yang
on 21 Oct 2019 at 23:20

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?

  0 Comments

Sign in to comment.