matlab script data type

Hi,
I want to create a matrix size 3x3 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.

 Accepted Answer

Nishant Gupta
Nishant Gupta on 29 May 2020

1 vote

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

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!