How to increase alphanumeric (i.e. NACA0012, NACA0013, NACA0014 etc)
조회 수: 2 (최근 30일)
이전 댓글 표시
Hey,
i am trying to make a loop summing from NACA0000 to NACA 9999
how can i do this while keeping the "NACA" statement in this alphanumeric.
Cheers
댓글 수: 0
답변 (1개)
Jess Lovering
2019년 11월 5일
You can loop through each value like this:
for ii = 1:10
str = ['NACA' num2str(ii,'%04i')]
disp(str)
end
Is that what you had in mind?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!