Hello! I have cell arrays, help me deal with the loop.
for i = 1:length(Animal)-1Y=[X{i}];enddata looks like this % X{1}=[0] X{2}=[0 1.2 1.4 1.6] X{3}=[0] X{4}=[0 1.3 1.5 1.6]....
My task is to create a 4×800 matrix, where if zero is the column [0 0 0 0], and the values will be in the column
Best Answer