If we come to the following line of code in MATLAB
:
reshape(dataSet{i},1, 200*200);
- Here,
dataset{j}
seems to be an element in a cell array. Is that right? Since we are usingreshape
, can we say that that element is anarray
? - When we use
reshape
, we define the dimensions (i.e; m,n). In the code above, ism=1
andn=200*200
? But, why wasn'tn
written as400
for instance? Is there some reason for writing it in the syntax that we see?
Thanks.