Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

distributed.Inf - Create distributed array of Inf values

Syntax

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

Description

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

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

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

Examples

Create a 1000-by-1000 distributed matrix of Inf values:

D = distributed.Inf(1000)

See Also

Inf MATLAB function reference page

codistributed.Inf, distributed.NaN

  


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