Reverse digits of a number.
For example, return 321 for the input 123 .
The left-hand zeros can be discarded. For example, input 10 will return 1 .
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers77
Suggested Problems
-
Select every other element of a vector
37107 Solvers
-
Sum the 'edge' values of a matrix
408 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
161 Solvers
-
Create an anti-identity matrix
208 Solvers
-
Sum positive elements of matrix.
130 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!