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
-
Find the sum of all the numbers of the input vector
53329 Solvers
-
Flip the main diagonal of a matrix
896 Solvers
-
686 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
394 Solvers
-
452 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!