MATLAB Answers

If I am trying to write a "while" loop for while the bottom row of a matrix has only one non-zero value, what would I write after the "while" to specify only that condition?

조회 수: 1(최근 30일)
Lets say I have a matrix of:
And I want to run a function only as long as there is one non-zero element in the 6th row. How would I do that until a second non-zero element is placed there?

  댓글 수: 0

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by