MATLAB: Matlab script data type

data typeMATLABmatlab function

Hi,
I want to create a matrix size 3×3 with data type is fixed point (fixdt(1,15,2)) in matlab script.
But i cannot find how to define this type in matlab script.
Please let me.
Thank you and Best regards.

Best Answer

You can use reinterpretcast function to chnage your datatype to fixed-point. But you must have Fixed-Point Designer installed to do that.