Is there a matlab function similar to numpy.spacing
5 ビュー (過去 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 で Call Python from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!