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

57 correct solutions
46 incorrect solutions

Last solution submitted on Oct 12, 2014

1 Comment

Andriy Nych
on 2 May 2013

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

4 Comments