Calculate and plot the amplitude phase response of this filter as a function of frequency
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The ratio of output and input voltage of a high pass filter is given by :
V0/Vi = (j*2pi*f*r*c)/(1+j*2pi*r*c).
Assume that r=16 kohm and c=1 micro f .Calculate and plot the amplitude phase response of this filter as a function of frequency ?
0 commentaires
Réponses (1)
Honglei Chen
le 13 Nov 2013
You already have the frequency response, so all you need to do is to plug in the frequency vector, f, based on your requirement and do abs and angle of it. For example
r = 16; c = 1;
H = @(f) (1i*2*pi*f*r*c)./(1+1i*2*pi*r*c);
f = 0:100;
P = H(f);
subplot(211),plot(f,20*log10(abs(P)));
subplot(212),plot(f,angle(P));
HTH
0 commentaires
Voir également
Catégories
En savoir plus sur Matched Filter and Ambiguity Function dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!