Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

horzcat - Class: dataset

Horizontal concatenation for dataset arrays

Syntax

ds = horzcat(ds1, ds2, ...)

Description

ds = horzcat(ds1, ds2, ...) horizontally concatenates the dataset arrays ds1, ds2, ... . You may concatenate dataset arrays that have duplicate variable names, however, the variables must contain identical data, and horzcat includes only one copy of the variable in the output dataset.

Observation names for all dataset arrays that have them must be identical except for order. horzcat concatenates by matching observation names when present, or by position for datasets that do not have observation names.

See Also

cat, vertcat

  


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