Transfer Function and Input Signal
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Alejandro Urbina
il 28 Apr 2016
Risposto: Star Strider
il 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 Commenti
Risposta accettata
Star Strider
il 28 Apr 2016
Use the lsim function with your time vector and matching ‘ttsignal’ input.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Digital Filter Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!