
11 Functions — Alphabetical List
11-84
false
Array of logical 0 (false)
Syntax
F = false(sz,arraytype)
F = false(sz,'like',P)
C = false(sz,codist)
C = false(sz, ___ ,codist,'noCommunication')
C = false(sz, ___ ,codist,'like',P)
Description
F = false(sz,arraytype) creates a matrix with false values in all elements.
The size and type of array are specified by the argument options according to the
following table.
Argument Values Descriptions
n Specifies size as an n-by-n matrix.
m,n or [m n] Specifies size as an m-by-n matrix.
sz
m,n,...,k or [m
n ... k]
Specifies size as an m-by-n-by-...-by-k array.
'distributed'
Specifies distributed array.
'codistributed'
Specifies codistributed array, using the default
distribution scheme.
arraytype
'gpuArray'
Specifies gpuArray.
F = false(sz,'like',P) creates an array of false values with the same type as
array P.
C = false(sz,codist) creates a codistributed array of false values with the
specified size. The codistributor object codist specifies the distribution scheme for
creating the codistributed array. For information on constructing codistributor objects,
Kommentare zu diesen Handbüchern