データの前処理
平均値、オフセット、線形トレンドの除去、欠損データの復元、データ サンプリング レートの変更
System Identification Toolbox™ アプリとコマンド ライン関数により、モデルの推定に推定 (および検証) データを使用する前に前処理できます。前処理は、データを改良し、不正確性を修正したり取り除いたりするのに役立ちます。これにより、確実にデータがモデル推定に適した形式になります。
推定用のデータを選択した後、次のような望ましくない特性がデータにないかを確認します。
欠損値または誤った値 ("外れ値" とも呼ばれる)。たとえば、欠損データを示すギャップ、残りのデータに適合しない値、意味のない値がある場合があります。
信号レベルのオフセットおよびドリフト (低周波数外乱)。
システム ダイナミクスの対象周波数範囲を超えた高周波数外乱。
データの特性に応じて、欠損データを復元したり、データのサンプル レートを変更したり、データから平均値、定数オフセット、または線形トレンドを除去したりできます。
時間領域データまたは周波数領域データを解析する方法については、How to Analyze Data Using the advice Commandを参照してください。
関数
detrend | Subtract offset or trend from time-domain signals contained in
iddata objects |
retrend | Add offsets or trends to time-domain data signals stored in iddata
objects |
diff | iddata オブジェクトの差分信号 |
idfilt | Filter data using user-defined passbands, general filters, or Butterworth filters |
misdata | Reconstruct missing input and output data |
nkshift | Shift data sequences |
idresamp | Resample time-domain data by decimation or interpolation |
idresampOptions | Option set for idresamp (R2023a 以降) |
resample | (非推奨) iddata オブジェクトに格納された時間領域データの、間引きまたは内挿によるリサンプリング (Signal Processing Toolbox ソフトウェアが必要) |
getTrend | Create trend information object to store offset, mean, and trend information for
time-domain signals stored in iddata object |
chgFreqUnit | 周波数応答データ モデルの周波数単位の変更 |
fdel | 周波数応答データ (FRD) モデルから指定したデータを削除 |
TrendInfo | Offset and linear trend slope values for detrending data |
トピック
データの処理、リサンプリング、およびフィルター適用
- Handling Missing Data and Outliers
Handling missing or erroneous data values. - Handling Offsets and Trends in Data
Removing and restoring constant offsets and linear trends in data signals. - Resampling Data
Decimating and interpolating (resampling) data. - Filtering Data
Deciding whether to filter data before model estimation and how to prefilter data.
アプリを使用したデータの前処理
- Preprocess Data Using Quick Start
Subtract mean values from data, and specify estimation and validation data. - How to Detrend Data Using the App
Before you can perform this task, you must have regularly-sampled, steady-state time-domain data imported into the System Identification app. - Resampling Data Using the App
Use the System Identification app to resample time-domain data. - How to Filter Data Using the App
The System Identification app lets you filter time-domain data using a fifth-order Butterworth filter by enhancing or selecting specific passbands.
コマンド ラインを使用したデータの前処理
- How to Detrend Data at the Command Line
Before you can perform this task, you must have time-domain data as aniddataobject. - Resampling Data at the Command Line
Decimate and interpolate time-domain data. - How to Filter Data at the Command Line
Useidfiltto apply passband and other custom filters to a time-domain or a frequency-domainiddataobject.