Is there a matlab function similar to numpy.spacing
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Adam Stevens
il 17 Set 2019
Commentato: Adam Stevens
il 18 Set 2019
Is there a matlab function similar to numpy.spacing ?
2 Commenti
John D'Errico
il 17 Set 2019
It would be far easier to answer, if you actually told people what that code does in python. Even give an example.
Risposta accettata
James Tursa
il 17 Set 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Call Python from MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!