필터 지우기
필터 지우기

Generate pole zero plot from measured impulse response

조회 수: 22 (최근 30일)
WP
WP 2017년 12월 25일
편집: Sudheer Nuggehalli 2018년 1월 2일
Hello everybody,
I want to generate a pole zero plot from a measured impulse response (imported via audioread). I only find examples to generate pole zero plots for very simple filters with known differential equations. Maybe you can point me in the right direction or give an example.
Thank you very much in advance!

답변 (1개)

Sudheer Nuggehalli
Sudheer Nuggehalli 2018년 1월 2일
편집: Sudheer Nuggehalli 2018년 1월 2일
One possible way to do this is to use the "pzmap" function on the measured impulse response data imported via "audioread". However, since "pzmap" requires a Dynamic System Model, sys, as an input, the measured impulse response data needs to be converted into a Dynamic System Model object. One way to do this is to use the "iddata" and "tfest" functions. Below is some code that can get you started:
[y,Fs] = audioread(filename);
data = iddata(y,[],Ts); % where Ts = 1/Fs
sys = tfest(data,np); % where np is the number of poles
pzmap(sys)
Refer to the documentation links below for more information about each of these functions and examples of how they are used:

카테고리

Help CenterFile Exchange에서 Transfer Function Models에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by