Problem 2866. Matlab Basics - Rounding II
75.97% Correct | 24.03% Incorrect
Last Solution submitted on Mar 27, 2023
Alireza yarmohammadi on 19 Mar 2021
but this problem is not in 2013 and downer versions
arsenic 陈 on 29 Mar 2021
answer:y = round(x,3)
why roundn not work?
goc3 on 29 Mar 2021
@arsenic 陈: roundn is a toolbox function. Cody only supports functions in basic MATLAB.
Problem Recent Solvers3223
Extract leading non-zero digit
Project Euler: Problem 7, Nth prime
Project Euler: Problem 8, Find largest product in a large string of numbers
More from this Author28
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!