| MATLAB Function Reference | ![]() |
TF = isempty(A)
TF = isempty(A) returns logical 1 (true) if A is an empty array and logical 0 (false) otherwise. An empty array has at least one dimension of size zero, for example, 0-by-0 or 0-by-5.
B = rand(2,2,2); B(:,:,:) = []; isempty(B) ans = 1
![]() | isdir | isempty (timeseries) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |