Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

gplus - Global addition

Syntax

s = gplus(x)

Description

s = gplus(x) returns the addition of the x from each lab. The result is replicated on all labs.

Examples

With four labs,

s = gplus(labindex)

returns s = 1 + 2 + 3 + 4 = 10 on all four labs.

See Also

gop, labindex

  


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