plus, MATLAB has "find", which returns a list of all the positions of a matrix matching some pattern. The combination of the two makes things that are very ugly to express in other languages quite pretty.
Too bad it's wicked expensive, proprietary and slow. I quite enjoy the paradigm.