Given an input (n), produce an output in the reverse order with out using string variables or string function.
x = 
y = 
NOTE: This is not x = [1, 2, 3]
This should work for all inputs.
x = [ 96721]
y = 12769
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries