How to enter characters in cell array ?
조회 수: 5 (최근 30일)
이전 댓글 표시
I would like to create a cell array with the following output
A = a_1 a_2 a_3 a_4 ....... a_99
I am trying to use the loop method but it's not working. Can anyone help?
A=[];
for i= 1:99
A = [A, 'a_i']
end
댓글 수: 0
채택된 답변
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!