Products & Services Solutions Academia Support User Community Company

Learn more about Symbolic Math Toolbox   

fix - Round toward zero

Syntax

fix(X)

Description

fix(X) is the matrix of the integer parts of X.

fix(X) = floor(X) if X is positive and ceil(X) if X is negative.

See Also

round, ceil, floor, frac

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS