powered by
Function written to match MATLAB's isempty function
isempty(...)
arguments to pass to the function. Typically a matrix.
Logical. True if the passed object has any dimension that is zero.
Other MATLAB: cell, diag_matlab, feval, fileparts, isfield, ones, randn, randperm, rand, size, tic, toc, zeros
cell
diag_matlab
feval
fileparts
isfield
ones
randn
randperm
rand
size
tic
toc
zeros
# NOT RUN { isempty(zeros(2,3)) isempty(zeros(2,0)) isempty(c(1,2,3)) # }
Run the code above in your browser using DataLab