Main Content

스펙트럼 분석

모수적 방법 및 비모수적 방법

신호의 주파수 영역 표현은 시간 영역에서 분석하기 어려운 중요한 신호 특성을 나타냅니다. 스펙트럼 분석을 통해 신호의 주파수 성분을 특징지을 수 있습니다. MATLAB®spectrumAnalyzer 객체와 Simulink®Spectrum Analyzer 블록을 사용하여 동적 신호의 실시간 스펙트럼을 분석합니다. 스펙트럼 분석기는 스펙트럼 데이터를 구하기 위해 필터 뱅크 방법 또는 수정된 주기도를 평균화하는 Welch 방법을 사용합니다. 이 두 가지 방법 모두 입력 데이터를 가정하지 않고 모든 종류의 신호에 사용할 수 있는 FFT 기반 스펙트럼 추정 방법입니다. 스펙트럼 분석기에서 사용하는 알고리즘에 대한 자세한 내용은 Spectral Analysis 항목을 참조하십시오. 스펙트럼을 보는 것은 물론 스펙트럼 분석기에서 신호의 스펙트로그램도 볼 수 있습니다. 예제는 View the Spectrogram Using Spectrum Analyzer 항목을 참조하십시오.

MATLAB에서 후처리를 위해 이 데이터를 가져오려면 Spectrum Analyzer 객체에서 isNewDataReady 객체 함수와 getSpectrumData 객체 함수를 호출합니다. 스트리밍 루프에서 이러한 함수를 호출하여 전체 스펙트럼 데이터를 가져올 수 있습니다. Simulink에서는 스펙트럼 데이터를 가져오려면 SpectrumAnalyzerConfiguration 객체를 만들고 이 객체에서 getSpectrumData 함수를 실행하십시오. Simulink에서는 스펙트럼 분석기에 표시된 스펙트럼 데이터의 마지막 프레임만 가져올 수 있습니다.

또는 dsp.SpectrumEstimator System object™ 블록과 Spectrum Estimator 블록을 사용하여 파워 스펙트럼을 계산하고 추가 처리를 위해 스펙트럼 데이터를 가져올 수 있습니다. Spectrum Estimator에 의해 계산된 스펙트럼 데이터를 보려면 배열 플롯을 사용하십시오. 예제는 Estimate the Power Spectrum in MATLABEstimate the Power Spectrum in Simulink 항목을 참조하십시오.

객체

모두 확장

spectrumAnalyzerDisplay frequency spectrum of time-domain signals (R2022a 이후)
dsp.SpectrumEstimatorEstimate power spectrum or power density spectrum
dsp.CrossSpectrumEstimatorEstimate cross-spectral density
dsp.TransferFunctionEstimatorEstimate transfer function

블록

모두 확장

Burg MethodPower spectral density estimate using Burg method
Covariance MethodPower spectral density estimate using covariance method
Cross-Spectrum EstimatorEstimate cross-power spectrum density
Discrete Transfer Function EstimatorCompute estimate of frequency-domain transfer function of system
Magnitude FFTCompute nonparametric estimate of spectrum using periodogram method
Modified Covariance MethodPower spectral density estimate using modified covariance method
PeriodogramPower spectral density or mean-square spectrum estimate using periodogram method
Short-Time FFTNonparametric estimate of spectrum using short-time fast Fourier transform (STFT) method
Spectrum AnalyzerDisplay frequency spectrum
Spectrum EstimatorEstimate power spectrum or power-density spectrum
Yule-Walker MethodPower spectral density estimate using Yule-Walker method
Burg AR EstimatorCompute estimate of autoregressive (AR) model parameters using Burg method
Covariance AR EstimatorCompute estimate of autoregressive (AR) model parameters using covariance method
Modified Covariance AR EstimatorCompute estimate of autoregressive (AR) model parameters using modified covariance method
Yule-Walker AR EstimatorCompute estimate of autoregressive (AR) model parameters using Yule-Walker method

도움말 항목