Main Content
false
Logical 0 (false)
Description
false
is shorthand for the logical value 0
.
is
a F
= false(sz1,...,szN
)sz1
-by-...
-by-szN
array
of logical zeros where sz1,...,szN
indicates the
size of each dimension. For example, false(2,3)
returns
a 2-by-3 array of logical zeros.
Examples
Input Arguments
Output Arguments
Tips
false(n)
is much faster and more memory efficient thanlogical(zeros(n))
.
Extended Capabilities
Version History
Introduced before R2006a