Matlab Sum. 8 10 12. See syntax options, examples, and performance benefit