Borrar filtros
Borrar filtros

while文から向けだせません

3 visualizaciones (últimos 30 días)
Yuriko
Yuriko el 8 de Dic. de 2020
Comentada: Yuriko el 12 de Dic. de 2020
添付のプログラムの1つめのwhile文から向け出せず.困っています.
  4 comentarios
stozaki
stozaki el 11 de Dic. de 2020
> 22行目のwhile文の条件(D<=0)がfalseになっても
どのように確かめられてますか? ブレークポイントを設定してみましたが、条件がfalseの場合はループには入りませんでした。
デバッグの方法は正しく出来ていますでしょうか? 下記リンクを参考に頂くと良いかと思います。
Yuriko
Yuriko el 12 de Dic. de 2020
回答いただきありがとうございます.
Dはスカラを想定していたのですが,ベクトルになっていたのが原因のようです.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre ループと条件付きステートメント en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!