findTol

Finds elements in an array that approximate a given value, to within a specified error tolerance.
574 téléchargements
Mise à jour 22 juil. 2010

Afficher la licence

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.

Citation pour cette source

Vinesh Rajpaul (2024). findTol (https://www.mathworks.com/matlabcentral/fileexchange/27298-findtol), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14SP3
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Matrices and Arrays dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
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