Is there a matlab function similar to numpy.spacing
조회 수: 3 (최근 30일)
이전 댓글 표시
Is there a matlab function similar to numpy.spacing ?
댓글 수: 2
John D'Errico
2019년 9월 17일
It would be far easier to answer, if you actually told people what that code does in python. Even give an example.
채택된 답변
James Tursa
2019년 9월 17일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!