Sylver Profile Topics Started Replies Created Favorites Forum Replies Created Viewing 1 post (of 1 total) Author Posts 24 February, 2016 at 5:45 pm in reply to: Concatenation #611 SylverParticipant You can make a loop and use eval. mat = zeros(length(data1),numArrays); for i = 1:numArrays mat(:,i) = eval(['data', num2str(i)]); end Author Posts Viewing 1 post (of 1 total)