데이터 전처리하기
평균, 오프셋 및 선형 추세의 제거, 누락된 데이터 재구성, 데이터 샘플링 레이트 변경
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 | (Not recommended) Resample time-domain data that is stored in an
iddata object by decimation or interpolation (requires
Signal Processing Toolbox software) |
getTrend | Create trend information object to store offset, mean, and trend information for
time-domain signals stored in iddata object |
chgFreqUnit | Change frequency units of frequency-response data model |
fdel | Delete specified data from frequency response data (FRD) models |
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.