Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I want my loop to run backward and print all values which are before 5.
조회 수: 1 (최근 30일)
이전 댓글 표시
for i=5:9:last_index
for j=5:-1:1
d=j;
end
end
I want my loop to run backward and print all values which are before 5 and store all the values in variable d. I have written the above code for it but its not working
댓글 수: 0
답변 (1개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!