Cody

Problem 1451. Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length).

For example:

 x = [1 2 3 3 2 1] is symmetric
 x = [1 2 3 4 3 2 1] is symmetric as well!
 x = [-1 -2 -3 3 2 1] is not symmetric

Solution Stats

54.59% Correct | 45.41% Incorrect
Last solution submitted on Dec 08, 2016

Problem Comments

Solution Comments

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more