approxeq(x, y, tolerance)

Test for 'nearly equal'
85 download
Aggiornato 16 ott 2015

Visualizza la licenza

Checks whether values are nearly equal, to within tolerance. Similar to "==", this returns either 1 for true or 0 for false, but here we report whether or not the values are nearly equal. Typical applications are in matching rough calculations to target values, and eliminating floating-point precision limits from equality tests.

Cita come

Carl Witthoft (2024). approxeq(x, y, tolerance) (https://www.mathworks.com/matlabcentral/fileexchange/53559-approxeq-x-y-tolerance), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Test Scripts in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0