Description Usage Arguments Value Author(s) Examples
Split matrix M into equal chunks, where each chunk has the same number of columns and rows. For example, if the original matrix has 10 columns and 100 rows, and n=5, this function generates five matrices of size 20 x 10. Function returns a list of length n.
1 | DivideMat(M, n)
|
M |
matrix with number of rows divisible by n |
n |
number of submatrices to break M into |
list of length n, where each element is a matrix.
Horace W. Tso horacetso@gmail.com
1 2 3 4 5 6 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.