필터 지우기
필터 지우기

Plotting magnitude of frequency response of the system

조회 수: 4 (최근 30일)
Muhammad Ali
Muhammad Ali 2020년 10월 30일
댓글: Muhammad Ali 2020년 10월 30일
I want to plot magnitude resonse of this system
I have written the following code for this:
num = [0 2 1];
den = [1 3 2];
[h,w] = freqz(num,den);
plot(w,abs(h))
grid ON;
I got this plot:
how can I verify that this is right plot. Can anyone verify that please.

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 10월 30일
freqz only works for a discrete-time system. Your system is a continuous time. You will need to use freqresp as you did in your other question here: https://www.mathworks.com/matlabcentral/answers/630383-pole-zero-plot-and-frequancy-response-of-a-system-in-matlab

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by