Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Variables within a for loop
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi I'm a beginner with Matlab. I want to create variables using a for loop:
Acc1=File_velocity_level_var1
Acc2=File_velocity_level_var2
.
.
Acc7=File_velocity_level_var7
I'm trying with this:
for n=1:7
Acc=strcat('File_velocity_level_var',n);
end
it just creates Acc=File_velocity_level_var
Please, help :)
2 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!