approxeq(x, y, tolerance)

Test for 'nearly equal'

Al momento, stai seguendo questo contributo

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 (2026). approxeq(x, y, tolerance) (https://it.mathworks.com/matlabcentral/fileexchange/53559-approxeq-x-y-tolerance), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0