The task I have to perform is take 2 user input numbers that must be floating numbers and add them together. However, when I do this, it cuts off at 4 decimal places. How do I make it so that it displays all decimal numbers? Do I have to use something with %f? I cannot use the "format" command. I am relatively new to MATLab, so any help would be appreciated! Below is what I have so far.
MATLAB: How to display all decimal numbers for floating numbers
decimalfloating point numbersMATLAB
Related Question
- How to display 0.0001 as it is, not 1.000e-4
- How to use str2double without rounding
- How to change the number display from scientific notation to the full number in digits
- How to format the output using fprintf to show a variable with a user defined amount of decimal places (this amount is stored in a variable)
Best Answer