isalmost

checks if two values are almost equal within a given tolerance interval

You are now following this Submission

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.

Cite As

James (2026). isalmost (https://au.mathworks.com/matlabcentral/fileexchange/15816-isalmost), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0