How to create multiple array with different name in for loop?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 = [];
....
Antworten (1)
KALYAN ACHARJYA
am 7 Apr. 2018
Bearbeitet: KALYAN ACHARJYA
am 7 Apr. 2018
for i=1:10
fprintf('\n arr%i',i);
fprintf('=[]');
end
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!