Is there a matlab function similar to numpy.spacing
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adam Stevens
el 17 de Sept. de 2019
Comentada: Adam Stevens
el 18 de Sept. de 2019
Is there a matlab function similar to numpy.spacing ?
2 comentarios
John D'Errico
el 17 de Sept. de 2019
It would be far easier to answer, if you actually told people what that code does in python. Even give an example.
Respuesta aceptada
James Tursa
el 17 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!