Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

Append - Append data to data set

Syntax

D = Append(D, otherData)

Description

This is a method of mbcmodel.data.

You can use this to add new data to your existing data set, D.

otherData is the input argument holding the extra data to add below the existing data. This argument can either be an mbcmodel.data object or a double array. The behavior is different depending on the type.

If otherData is an mbcmodel.data object then Append will look for common SignalNames between the two sets of data. If no common SignalNames are found then a error will be thrown. Any common signals will be Appended to the existing data and other signals will be filled with NaN.

If otherData is a double array then it must have exactly the same number of columns as there are SignalNames in the data, and a simple vertcat (vertical concatenation) is applied between the existing data and otherData.

Examples

Append(D, CreateData('aDataFile.xls'));
Append(D, rand(10,100));

See Also

CreateData

  


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