zeroFPError(H,ZERO)​

Zero round-off terms resulting from floating point errors

You are now following this Submission

This function simplifies an input by zeroing floating point errors with magnitudes less than a specified value. It is particularly useful for simplifying results from the symbolic toolbox, however this function can be applied to numeric values as well.

Cite As

Michael Kutzer (2026). zeroFPError(H,ZERO) (https://se.mathworks.com/matlabcentral/fileexchange/47817-zerofperror-h-zero), 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.5.0.0

(1) Round coefficients based on zero. This includes additional VPA for decimal coefficients in output.
(2) Added "See also" to comments

1.4.0.0

Updated to accommodate fractions.

1.3.0.0

(1) Updated to check for use of symbolic variables prior to calling "simplify.m"
(2) Added simplify call prior to calling "vpa.m" to ensure trig simplification.

1.2.0.0

Description correction.

1.1.0.0

Updated to remove extra 'vpa' call.

1.0.0.0