MATLAB: Correct syntax for appending number to word in for loop

MATLAB

Hello,
I was wondering if somebody could help me with a for loop.
In the for loop below, what would be the correct syntax be to make the variable dt equal to dt1 in the first loop? How do you append a 1 onto the dt? So that dt = dt1?
Thank you for your help
Journeynumber=3;
dt1=2;
at1=4;
dt2=7;
at2=8;
for j=1:Journeynumber
dt = dt"j";
end

Best Answer

for i = 1:10;
str = ['dt' num2str(i)]
end