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

63 correct solutions
49 incorrect solutions

Last solution submitted on Jan 23, 2015

1 Comment

Andriy Nych
on 2 May 2013

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

4 Comments