Matlab Basics - Rounding II - MATLAB Cody - MATLAB Central

Problem 2866. Matlab Basics - Rounding II

Difficulty:Rate

Write a script to round a variable x to 3 decimal places:

e.g. x = 2.3456 --> y = 2.346

Solution Stats

78.41% Correct | 21.59% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers4912

Suggested Problems

More from this Author28

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page