Is there a matlab function similar to numpy.spacing
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adam Stevens
am 17 Sep. 2019
Kommentiert: Adam Stevens
am 18 Sep. 2019
Is there a matlab function similar to numpy.spacing ?
2 Kommentare
John D'Errico
am 17 Sep. 2019
It would be far easier to answer, if you actually told people what that code does in python. Even give an example.
Akzeptierte Antwort
James Tursa
am 17 Sep. 2019
From the numpy.spacing doc:
"It can be considered as a generalization of EPS ... there should not be any representable number between x + spacing(x) and x for any finite x."
Sounds like the MATLAB function eps( ) is what you want.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!