Problem 42641. MATLAB Basic: rounding
Solution Stats
Problem Comments
-
2 Comments
nice
nice
Solution Comments
-
1 Comment
basic
-
1 Comment
easy
-
1 Comment
nice
-
1 Comment
Good problem
-
2 Comments
The solution which I presented just now works perfectly fine on the live editor of Matlab, but don't know why math works still say it is incorrect?
use fix instead of floor or ceil command
Problem Recent Solvers2657
Suggested Problems
-
4582 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
1489 Solvers
-
287 Solvers
-
292 Solvers
-
Find the next Fibonacci number
372 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!