isalmost
Version 1.0.0.0 (667 Bytes) von
James
checks if two values are almost equal within a given tolerance interval
2K Downloads
Aktualisiert
3. Aug 2007
Keine Lizenz
This simple function tests if matrix a is approximately equal to b within a specified tolerance interval (a = b±tol).
I find this useful for situations where rounding issues cause exact testing (eg. find(a==b)) to fail to find all relevant values in a vector or matrix.
Zitieren als
James (2025). isalmost (https://www.mathworks.com/matlabcentral/fileexchange/15816-isalmost), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Logical finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |