fix
fix(x)
Input: x · Output: no output
What it is
Rounds toward zero (fix(-2.7) is -2, fix(2.7) is 2); the MATLAB name for trunc. Elementwise on a scalar, Vec or Mat.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
fix(x) | x scalar, Vec, or Matnot documented yet | not documented yet | Rounds toward zero (fix(-2.7) is -2, fix(2.7) is 2); the MATLAB name for trunc. Elementwise on a scalar, Vec or Mat. |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.