Transfer Function and Input Signal
13 views (last 30 days)
Show older comments
Alejandro Urbina
on 28 Apr 2016
Answered: Star Strider
on 28 Apr 2016
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 Comments
Accepted Answer
Star Strider
on 28 Apr 2016
Use the lsim function with your time vector and matching ‘ttsignal’ input.
0 Comments
More Answers (0)
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!