If I am having a symmetric structures vector Eg: A = [a2 a1 a3 a4 a5 a4 a3 a2 a1]
I want to check whether the vector is having a peak value at the center index and the other values are arranged in a decreasing fashion from the center. I.e. a1<a2<a3<a4<a5.
How to check this?