How to convert decimal value into integer in matlab code? All Questions › Category: Tools › How to convert decimal value into integer in matlab code? 0 Vote Up Vote Down Akshay asked 5 years ago I need short information. 1 Answers 0 Vote Up Vote Down Kiran answered 5 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.