!
Rebin a matrix
| Syntax: |
REBIN m mout nr nc
|
Suppose that matrix m has N rows and M columns, then:

that is, the matrix m will have N/nr rows and
M/nc columns.

If
is not equal to N, then the last row of
mout will be incomplete. If
is not equal to
M, then the last column of mout will be incomplete.
Example
Suppose that M is a matrix with 8 rows and 6 columns.

| command | result | |||||
REBIN M MOUT 2 3 |
|
