Problem 43148. Basic commands - rounding
make a function which will round to integer, which is nearer to zero.
Example
x=[-2.5 2]; y=[-2 2];
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers222
Suggested Problems
-
3399 Solvers
-
4558 Solvers
-
Check if number exists in vector
13711 Solvers
-
Switch matrix to a column vector
372 Solvers
-
Add a row of zeros on top of a matrix
265 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!