Is there a matlab function similar to numpy.spacing
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Adam Stevens
le 17 Sep 2019
Commenté : Adam Stevens
le 18 Sep 2019
Is there a matlab function similar to numpy.spacing ?
2 commentaires
John D'Errico
le 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.
Réponse acceptée
James Tursa
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!