Write a MATLAB m-file that can be used to obtain the normalized elliptic transfe
ID: 2084733 • Letter: W
Question
Write a MATLAB m-file that can be used to obtain the normalized elliptic transfer function for any given set of specifications (k, A_p, A_a} where k is the selectivity, A_p is maximum passband loss, and A_a is the minimum stopband loss. Your program should also compute the actual stopband loss. (b) Use your program to obtain elliptic transfer functions for two different sets of specifications that would result in an even-order and an odd-order transfer function of order greater than 5. (c) Plot the loss characteristics associated with the transfer functions obtained.Explanation / Answer
matlab program for elliptic transfer fucntion taking some set of values as input varaibles for the transfer function
%elliptic transfer function
[n,wp] = ellipord([.2 .3],[.14 .36],3,61.5);
[b,a] = ellip(n,3,61.5,wp);
% add 1.5 dB of gain
b = b*10.^(1.5/20);
[H,F]= freqz(b,a,1000,2);
plot(F,10*log10(H.*conj(H)));
set(gca,'ylim',[-70,3]);
grid('on');
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.