Use the lsim function with your time vector and matching ‘ttsignal’ input.
Transfer Function and Input Signal
13 次查看(过去 30 天)
显示 更早的评论
I have have the following transfer function for a noise filter
R=220;
a=.95;
C=900.*10^-9;
num=[(R^2.*C^2) 0 1];
den=[(R^2.*C^2) (4.*R.*C.*(1-a)) 1];
H=tf(num/den);
bode(H)
This is also define as Vo/Vi and it filters input signals at a frequency of 5khz. i was given an Input Voltage on a data table and im trying to graph the Vo. Im using my relation H=(Vo/Vi) to graph Vo as Vo=H(Vi). Im doing this the following way
H=(num/den).*(ttsignal)
ttsignal is my input voltage btw...
after i do this and i graph my plot basically overlaps, my output signal perfectly matches my input signal.which basically means the filter is doing nothing... its getting and input and the output has no change whatsoever...
what im doing wrong in here...
ill appreaciate any help
thank
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!