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

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

Respuestas (1)

Muhtasim Haque Nahian
Muhtasim Haque Nahian el 9 de Mayo de 2021

0 votos

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!

Categorías

Etiquetas

Preguntada:

el 9 de Mayo de 2021

Editada:

el 11 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by