Rounds the input elements to the nearest integer towards 0.
c = fix(a)
Numeric scalar or numeric array of any dimension.
Rounded elements of a. c is an array of the same size as a.
If a is complex, MathScript rounds c with the following equation: c = fix(real(a))+fix(imag(a))*i.
A = [-3.7, -2.5, -1.3, 0, 1.3, 2.5, 3.7] C = fix(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices