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

Learn moreOpportunities for recent engineering grads.

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

41 correct solutions
40 incorrect solutions

Last solution submitted on Mar 28, 2014

1 Comment

Andriy Nych
on 2 May 2013

What if you update the test #3 in test suite?

4 Comments