April 13, 2011
Matlab fix Function to C
![Matlab fix Function to C](https://toto-share.com/wp-content/themes/ribbon-lite/images/nothumb-featured.png)
I get function fix in Matlab. fix(X) rounds the elements of X to the nearest integers towards zero. For example if we have data with value : X = [-1.9, -0.2, 3.4, 5.6, 7.0] When we use fix function with this data, so we get output : Y = [1.0000 0 3.0000 5.0000 7.0000] I