Dear all,
I have a vector called "centers" which should be 1×26. When I call "whos centers" I obtain:
>> whos centers
Name Size Bytes Class Attributescenters 1x26 208 double
Which makes sense. When I type "centers" the whole vector is displayed, and its size is 1×26. When I call "size(centers, 2)" I obtain 26, which also makes sense. However, when I call "size centers" I obtain:
>> size centers
ans = 1 7
Also, when I type "length centers" I obtain:
>> length centers
ans = 7
Does anybody understand what is happening here? I am quite puzzled.
Thank you very much,
Miguel
Best Answer