I want to get and display the results of a problem with 2 decimal digits , already it get me 4 digits , what should do i for get the results just with 2 decimal digits?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I want to get and display the results of a problem with 2 decimal digits , already it get me 4 digits , what should do i for get the results just with 2 decimal digits?
Answers (1)
format bank
rand(10,1)
Please provide feedback on the answers you get and accept the one that better solves your problem.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!