How do I solve the following problem with rounding?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I run the following code:
clear all
x=-2:0.1:2;
find(x==0.9)
I get:
ans = Empty matrix: 1-by-0
How can I fix this problem? The version I use is R2013a.
Thanks! niko
1 Kommentar
Antworten (2)
Siehe auch
Kategorien
Mehr zu Detection finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!