how to decrements variable in for loop
이전 댓글 표시
for i=17:i
how to decrement i value.
i.e i value in next loop i=16 and i=15 in next loop
댓글 수: 1
Jan
2012년 1월 30일
Having the same variable on the right and left hand in FOR is confusing.
답변 (1개)
Titus Edelhofer
2012년 1월 30일
Hi,
doc for
and take a look at the parameter "stepval".
Titus
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!