There must be a simple matlab way of doing this. I have a row vector and I want to check if all of the elements are equal. Brute forcing this in a loop is easy, but lookin
How about: max(v) == min(v)? :-)
max(v) == min(v)