Cody

Problem 2631. Flip the vector from right to left

Created by Pritesh Shah in Community

Flip the vector from right to left.

Examples

 x=[1:5], then y=[5 4 3 2 1]
 x=[1 4 6], then y=[6 4 1];

Request not to use direct function.

Solution Stats

49.65% Correct | 50.35% Incorrect
Last solution submitted on Feb 15, 2019

Problem Comments

Recent Solvers199

Suggested Problems

More from this Author73

Discover MakerZone

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

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!