フィルターのクリア

how to plot poles,zeros, impulse response, step response, ramp response of the following system

128 ビュー (過去 30 日間)
Lokesh Biswal
Lokesh Biswal 2020 年 6 月 19 日
回答済み: Tanmay Das 2020 年 6 月 19 日
H(s)= 2s/(4s^2+3s+1)

回答 (1 件)

Tanmay Das
Tanmay Das 2020 年 6 月 19 日
Hi,
I have the understanding that you have all the theoretical knowledge related to your question. You are facing trouble in plotting zeros, poles and different system responses. The following code may help you:
numG = [2 0];
denG = [4 3 1];
figure(1)
pzmap(tf(numG,denG));
grid on;
figure(2)
impulse(numG,denG);
figure(3)
step(numG,denG);
figure(4)
denG(end+1) = 0;
step(numG,denG);
title("Ramp Response");
You may refer to the following documentations for further information:
Please note the following:
There is no ramp command in MATLAB. However, as the ramp signal is one order higher than step signal, the step input signal can be used to obtain the ramp response by dividing the transfer function by s and then evaluating it using the step command. If the given transfer function of system is G(s), then the step command is used with the modified function G(s)/s to obtain the ramp response.
Hope that helps!

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by