Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How to create multiple array with different name in for loop?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
for i=1:10
arr = strcat('arr',num2str(i));
arr[];
end
This code is not working. so how we can do?
I want make an array like this.
arr1 = [];
arr2 = [];
arr3 = [];
....
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 7 Apr 2018
Modificato: KALYAN ACHARJYA
il 7 Apr 2018
for i=1:10
fprintf('\n arr%i',i);
fprintf('=[]');
end
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!