Hi All:
I'd like to get the abnormal values from an array, e.g. a={1,1,1,500,1,1,1,1,1,600,1,1,560}
The new array will be b={500,600,560}. How can I do this? Note that using the "if" statement will give me the array that is of the same size as "a", and @loc is for finding the indexes with the constant values.
Thanks very much for your help.
Jean |