MATLAB Function Reference Previous page   Next Page
false

Return logical 0 (false)

Syntax

Description

false is shorthand for logical(0).

false(n) is an n-by-n matrix of logical zeros.

false(m, n) or false([m, n]) is an m-by-n matrix of logical zeros.

false(m, n, p, ...) or false([m n p ...]) is an m-by-n-by-p-by-... array of logical zeros.

false(size(A)) is an array of logical zeros that is the same size as array A.

Remarks

false(n) is much faster and more memory efficient than logical(zeros(n)).

See Also

true, logical


Previous page  factorial fclose Next page

© 1994-2005 The MathWorks, Inc.