MATLAB: How to make matlab display decimal numbers decimalMATLABnumber It looks something like this: cos(197/5) - (52*sin(197/5))/15 + 1437648634144923/500000000 Best Answer If the result is purely numeric, you can double() it.If the result still has symbolic variables in it, then vpa() it. Related SolutionsMATLAB: How to display all decimal numbers for floating numbers Try thisfprintf('num1+num2 = %1.16g\n',adding_num1_and_num2) MATLAB: Totally evaluate a result It looks like a Symbolic Math Toolbox result.Use the vpa function:B1v = vpa(76533567789*cos(665434345667778/334545654433775)/65343456677)B1v =-0.47574155170905596534680626064073 Related QuestionExtracting positive numbersHow to deactivate automatic reduction of fractions in MuPADAdding Hexadecimal numbersHow to change the display format of a symbolic functionRetrun largest numbers
Best Answer