Go to the first, previous, next, last section, table of contents.

Matrix Tutorial Exercise 1

The trick is to multiply by a vector of ones. Use r 4 [1 1 1] * to get the row sum. Similarly, use [1 1] r 4 * to get the column sum.


Go to the first, previous, next, last section, table of contents.