powered by
Generate random samples from a uniform distribution [0,1] and return in matrix form
rand(dim1, dim2 = NULL)
The dimension of the matrix (if square), otherwise the number of rows.
The number of colums, if different from the number of rows.
Matrix of random generated samples.
Other MATLAB: cell, diag_matlab, feval, fileparts, isempty, isfield, ones, randn, randperm, size, tic, toc, zeros
cell
diag_matlab
feval
fileparts
isempty
isfield
ones
randn
randperm
size
tic
toc
zeros
# NOT RUN { rand(2,3) rand(5) # }
Run the code above in your browser using DataLab