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 4 years ago I need short information. 1 Answers 0 Vote Up Vote Down Kiran answered 4 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.