MATLAB Answers

matlab script data type

3 views (last 30 days)
hoang tuan
hoang tuan on 27 May 2020
Commented: hoang tuan on 1 Jun 2020
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.

  0 Comments

Sign in to comment.

Accepted Answer

Nishant Gupta
Nishant Gupta on 29 May 2020
You can use reinterpretcast function to chnage your datatype to fixed-point. But you must have Fixed-Point Designer installed to do that.

  1 Comment

hoang tuan
hoang tuan on 1 Jun 2020
thank you very much.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by