Given an input (n), produce an output in the reverse order with out using string variables or string function.

Example

 x = [123]
 y = [321]

NOTE: This is not x = [1, 2, 3]

This should work for all inputs.

Example

 x = [ 96721]
 y = 12769

Solution Stats

304 Solutions

90 Solvers

Last Solution submitted on Dec 05, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers90

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!