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

Learn moreOpportunities for recent engineering grads.

Apply TodayGiven 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

34 correct solutions
37 incorrect solutions

Last solution submitted on Nov 30, 2014

1 Comment

Harish Maradana
on 5 Jun 2014

fliplr(num2str(a))
not working please help me

4 Comments