For example,
x = zeros(3,1);
y = [10.tt 1;
2.tt 1;
3.tt 1];
"y is 'xlsread' into mat file".
for i = 1:5
y (i,1), which = [10.tt; 2.tt; 3.tt]
How can I record y(i, 1) value into x? x will equal [10.tt; 2.tt; 3.tt]?
“10.tt …..” those numbers only show the data is a string and number combination.
You could use a cell array or a struct: