Documentation Center

  • Trial Software
  • Product Updates

MATLAB Functions on Distributed and Codistributed Arrays

Many functions in MATLAB® software are enhanced or overloaded so that they operate on codistributed arrays in much the same way that they operate on arrays contained in a single workspace.

In most cases, if any of the input arguments to these functions is a distributed or codistributed array, their output arrays are distributed or codistributed, respectively. If the output is always scalar, it is replicated on each worker. All these overloaded functions with codistributed array inputs must reference the same inputs at the same time on all workers; therefore, you cannot use variant arrays for input arguments.

The following table lists the enhanced MATLAB functions that operate on distributed or codistributed arrays.

A few of these functions might exhibit certain limitations when operating on a distributed or codistributed array. Click any function name to see specific help, including limitations.

absabs
acosacos
acosdacosd
acoshacosh
acotacot
acotdacotd
acothacoth
acscacsc
acscdacscd
acschacsch
allall
andand(&)
angleangle
anyany
arrayfunarrayfun
asecasec
asecdasecd
asechasech
asinasin
asindasind
asinhasinh
atanatan
atan2atan2
atan2datan2d
atandatand
atanhatanh
bitandbitand
bitorbitor
bitxorbitxor
bsxfunbsxfun
castcast
catcat
ceilceil
cell2matcell2mat
cell2structcell2struct
celldispcelldisp
cellfuncellfun
charchar
cholchol
complexcomplex
conjconj
coscos
cosdcosd
coshcosh
cotcot
cotdcotd
cothcoth
csccsc
cscdcscd
cschcsch
ctransposectranspose(')
cumprodcumprod
cumsumcumsum
diagdiag
dotdot
doubledouble
epseps
eigeig
endend
eqeq(==)
expexp
expm1expm1
eye
false
fieldnamesfieldnames
fftfft
findfind
fixfix
floorfloor
fullfull
gege(>=)
gtgt(>)
horzcathorzcat([])
hypothypot
ifftifft
imagimag
Inf
int16int16
int32int32
int64int64
int8int8
invinv
ipermuteipermute
isemptyisempty
isequalisequal
isequalnisequaln
isfiniteisfinite
isinfisinf
isnanisnan
isrealisreal
issparseissparse
ldivideldivide(.\)
lele(<=)
lengthlength
loglog
log10log10
log1plog1p
log2log2
logicallogical
ltlt(<)
lulu
maxmax
meanmean
meshgridmeshgrid
minmin
minusminus(-)
mldividemldivide(\)
mrdividemrdivide(/)
mtimesmtimes(*)
modmod
NaN
ndimsndims
ndgridndgrid
nene(~=)
nextpow2nextpow2
nnznnz
nonzerosnonzeros
normnorm
normestnormest
notnot(~)
nthrootnthroot
num2cellnum2cell
numelnumel
nzmaxnzmax
ones
oror(|)
permutepermute
plusplus(+)
pow2pow2
powerpower(.^)
prodprod
qrqr
rand
randi
randn
rdividerdivide(./)
realreal
reallogreallog
realpowrealpow
realsqrtrealsqrt
remrem
repmatrepmat
reshapereshape
rmfieldrmfield
roundround
secsec
secdsecd
sechsech
signsign
sinsin
sindsind
singlesingle
sinhsinh
sizesize
sortsort
sortrowssortrows
sparsesparse
spfunspfun
sponesspones
sqrtsqrt
struct2cellstruct2cell
subsasgnsubsasgn
subsindexsubsindex
subsrefsubsref
sumsum
svdsvd
swapbytesswapbytes
tantan
tandtand
tanhtanh
timestimes(.*)
transposetranspose(.')
triltril
triutriu
true
typecasttypecast
uint16uint16
uint32uint32
uint64uint64
uint8uint8
uminusuminus(-)
uplusuplus(+)
vertcatvertcat([;])
xorxor
zeros

Was this topic helpful?