Main Content

Preprocess Data

Remove means, offsets, and linear trends; reconstruct missing data, change data sampling rate

Functions

detrendSubtract offset or trend from time-domain signals contained in iddata objects
retrendAdd offsets or trends to time-domain data signals stored in iddata objects
diffDifference signals in iddata objects
idfiltFilter data using user-defined passbands, general filters, or Butterworth filters
misdataReconstruct missing input and output data
nkshiftShift data sequences
idresampResample time-domain data by decimation or interpolation
idresampOptionsOption set for idresamp (Since R2023a)
resample(Not recommended) Resample time-domain data that is stored in an iddata object by decimation or interpolation (requires Signal Processing Toolbox software)
getTrendCreate trend information object to store offset, mean, and trend information for time-domain signals stored in iddata object
chgFreqUnitChange frequency units of frequency-response data model
fdelDelete specified data from frequency response data (FRD) models
TrendInfoOffset and linear trend slope values for detrending data

Examples and How To

Concepts