Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 2315. Reverse the input

Created by Joseph Pauwels

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


 x = [123]
 y = [321]

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

This should work for all inputs.


 x = [ 96721]
 y = 12769

Problem Group

Solution Statistics

45 correct solutions 45 incorrect solutions
Last solution submitted on Nov 17, 2015

Problem Comments

Solution Comments