| ones | R Documentation |
Create a matrix of ones of size (dim1 x dim2).
ones(dim1, dim2 = NULL)
dim1 |
The dimension of the matrix (if square) or the number of rows. |
dim2 |
The number of columns |
A matrix of ones
Other MATLAB:
cell(),
diag_matlab(),
feval(),
fileparts(),
isempty(),
rand(),
randn(),
size(),
tic(),
toc(),
zeros()
ones(4)
ones(3,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.