Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

distributed.NaN - Create distributed array of Not-a-Number values

Syntax

D = distributed.NaN(n)
D = distributed.NaN(m, n, ...)
D = distributed.NaN([m, n, ...])
D = distributed.NaN(..., classname)

Description

D = distributed.NaN(n) creates an n-by-n codistributed matrix of NaN values.

D = distributed.NaN(m, n, ...) or D = distributed.NaN([m, n, ...]) creates an m-by-n-by-... distributed array of NaN values.

D = distributed.NaN(..., classname) specifies the class of the distributed array D. Valid choices are the same as for the regular NaN function: 'double' (the default), or 'single'.

Examples

Create a 1000-by-1000 distributed matrix of NaN values of class double:

D = distributed.NaN(1000)

See Also

Inf MATLAB function reference page

codistributed.NaN, distributed.Inf

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS