distmod(x,n)

版本 1.0.0.0 (497 字节) 作者: Ted
Calculate the "distance" (absolute difference) between x and the nearest multiple of the modulus n.
50.0 次下载
更新时间 2015/8/25

查看许可证

Distmod finds the "distance" (absolute difference) between x and the nearest multiple of the modulus n. This function is useful when answering the question: "Is x a multiple of n, plus or minus some tolerance?"

引用格式

Ted (2024). distmod(x,n) (https://www.mathworks.com/matlabcentral/fileexchange/52664-distmod-x-n), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Coordinate Transformations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0