So I have a for loop that repeats 3 times, the first time my answer needs to have 3 decimal places but then when it runs the second and third time I need to have 4 decimal places. How do I change the number of decimal places between the three loops
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/558584-changing-amount-of-decimals-in-between-loops#comment_922649
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/558584-changing-amount-of-decimals-in-between-loops#comment_922649
Sign in to comment.