Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

gcat - Global concatenation

Syntax

Xs = gcat(X)
Xs = gcat(X, dim)

Description

Xs = gcat(X) concatenates the variant arrays X from each lab in the second dimension. The result is replicated on all labs.

Xs = gcat(X, dim) concatenates the variant arrays X from each lab in the dim-th dimension.

Examples

With four labs,

Xs = gcat(labindex)

returns Xs = [1 2 3 4] on all four labs.

See Also

cat MATLAB function reference page

gop, labindex, numlabs

  


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