Why Do I keep getting NaNs in my code???

I have posted the full code but I generally do not umderstand why??

1 件のコメント

per isakson
per isakson 2021 年 5 月 10 日
Did you remove the code?

サインインしてコメントする。

回答 (1 件)

Muhtasim Haque Nahian
Muhtasim Haque Nahian 2021 年 5 月 9 日

0 投票

NaN stands for Not a Number. If your variable/matrix/input does not have the specific number/range that should meet the argument, NaN will appear as an output.
Hope this helps!

カテゴリ

タグ

質問済み:

2021 年 5 月 9 日

編集済み:

2021 年 5 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by