spread an array along a given dimension (similar to repmat in Matlab or spread in Fortran) what dim specifies in the order given spread(A , c(2) , 10) will insert a dimension in the second index of size 10
1 | spread(A, loc, dims)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.