Sylver

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Concatenation #611

    Sylver
    Participant

    You can make a loop and use eval.

    mat = zeros(length(data1),numArrays);
    for i = 1:numArrays
       mat(:,i) = eval(['data', num2str(i)]);
    end
Viewing 1 post (of 1 total)