Matlab floating point errors
Mostra commenti meno recenti
Hello all. I am using a Matlab R2011b version, but I am experiencing some problems in floating point calculation. For instance, if I have a = 10; b = 1e-5; a / b is not 1e6 as expected, but 9.999...*1e5. I think it is due to a floating point error or something like that. But it is very strange to have it in the fifth or sixth decimal position. Is anyone experiencing the same problems? Is it an issue related to the version? How could I solve it?
Thanks a lot Matteo
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!