MATLAB: Decresing decimal point of integer decimalMATLAB how can i do this? i have this number: 1.23484057 and i only need it to be 1.23 Best Answer result = floor(your_num.*100)./100 Related SolutionsMATLAB: Integer from the decimal fix(3.5)Other closely related functions include floor(), ceil(), and round() MATLAB: Decimal This is a user defined function available on the FEX: round2dp.To use it, you have to download it and then add to MATLAB the path where you unzip it. In MATLAB File > Set path Related QuestionDecimalsDetermining decimal point validationCsvread without decimal pointIncreasing decimal point precisionPlace number before decimal pointIncreasing Decimal Point in Plot
Best Answer