MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 547

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 546
NaN
11-203
NaN
Array of Not-a-Numbers
Syntax
A = NaN(sz,arraytype)
A = NaN(sz,datatype,arraytype)
A = NaN(sz,'like',P)
A = NaN(sz,datatype,'like',P)
C = NaN(sz,codist)
C = NaN(sz,datatype,codist)
C = NaN(sz, ___ ,codist,'noCommunication')
C = NaN(sz, ___ ,codist,'like',P)
Description
A = NaN(sz,arraytype) creates a matrix with underlying class of double, with NaN
values in all elements.
A = NaN(sz,datatype,arraytype) creates a matrix with underlying class of
datatype, with NaN 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.
arraytype
'codistributed'
Specifies codistributed array, using the default
distribution scheme.
Page view 546
1 2 ... 542 543 544 545 546 547 548 549 550 551 552 ... 655 656

Comments to this Manuals

No comments