Why Do I keep getting NaNs in my code???
Show older comments
I have posted the full code but I generally do not umderstand why??
1 Comment
per isakson
on 10 May 2021
Did you remove the code?
Answers (1)
Muhtasim Haque Nahian
on 9 May 2021
0 votes
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!
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!