Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

distributed.true - Create distributed true array

Syntax

T = distributed.true(n)
T = distributed.true(m, n, ...)
T = distributed.true([m, n, ...])

Description

T = distributed.true(n) creates an n-by-n distributed array of logical ones.

T = distributed.true(m, n, ...) or T = distributed.true([m, n, ...]) creates an m-by-n-by-... distributed array of logical ones.

Examples

Create a 1000-by-1000 distributed true array.

T = distributed.true(1000);

See Also

true MATLAB function reference page

codistributed.true, distributed.false

  


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