How to convert decimal value into integer in matlab code?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: ToolsHow to convert decimal value into integer in matlab code?
Akshay asked 6 years ago

I need short information.

1 Answers
Kiran answered 6 years ago

Use this to convert decimal value into integer in matlab code.
x = int16(a)
 
a holds decimal value which converted to integer and stored in x.