MATLAB Answers

multiple loop do not loop

조회 수: 15(최근 30일)
Khairul nur
Khairul nur 13 Jan 2021
답변: Matt J 13 Jan 2021
i have this data table :
1 6
2 5
3 8
4 4
5 7
6 9
i used this code to read the table from 1st col to 2nd col. However, the loop doesnt read for 2nd loop.
for n1=i:noofcol
for n2=j:noofrow

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 13 Jan 2021
for i=1:noofcol
for j=1:noofrow

  댓글 수: 0

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by