findTol

版本 1.2.0.0 (2.1 KB) 作者: Vinesh Rajpaul
Finds elements in an array that approximate a given value, to within a specified error tolerance.
574.0 次下载
更新时间 2010/7/22

查看许可证

Finding elements in an array that approximate a given value, to within a specified error tolerance, is a common task. This very simple script automates this task and furthermore outputs the relevant elemental indices in order of smallest to largest error, making it easy to select only the n closest matches.
Either a relative, percent or absolute error tolerance may be specified. Numeric arrays of all dimensions are supported.

引用格式

Vinesh Rajpaul (2024). findTol (https://www.mathworks.com/matlabcentral/fileexchange/27298-findtol), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

Implemented some of Jan Simon's suggested improvements

1.1.0.0

Fixed a problem with sorting row vectors that caused the script to crash

1.0.0.0