powered by
Function written to match MATLAB's size function
size(obj, dimension.index = NULL)
An object you want to know the various dimensions of. Typically a matrix.
Which dimension you are interested in.
The dimensions of the object or specific dimension you are interested in.
Other MATLAB: cell, diag_matlab, feval, fileparts, isempty, isfield, ones, randn, randperm, rand, tic, toc, zeros
cell
diag_matlab
feval
fileparts
isempty
isfield
ones
randn
randperm
rand
tic
toc
zeros
# NOT RUN { size(c(2,3,4,5,6)) size(10) size(zeros(4,7)) # }
Run the code above in your browser using DataLab