Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to create multiple array with different name in for loop?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
KALYAN ACHARJYA
2018년 4월 7일
편집: KALYAN ACHARJYA
2018년 4월 7일
for i=1:10
fprintf('\n arr%i',i);
fprintf('=[]');
end
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!