incrementing
이전 댓글 표시
Is there an easy way to increment numbers in MatLab like in c++? For example:
while end_condition
u(i++) = input('...');
if u(i) <= 0
end_condition = false;
end
end
답변 (2개)
Walter Roberson
2012년 2월 15일
0 개 추천
Sorry, no there is not.
Jeremy Eastwood-Smith
2018년 11월 11일
0 개 추천
you can write i = i+1 that will increment
카테고리
도움말 센터 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!