Question

In: Electrical Engineering

Design an analog elliptic lowpass IIR filter with specifications Fp=10 kHz., Ap=1 dB, Fs=15 kHz. And...

Design an analog elliptic lowpass IIR filter with specifications Fp=10 kHz., Ap=1 dB, Fs=15 kHz. And As=50 dB. Provide the following plots in MATLAB:

a. Magnitude

b. Log-magnitude

c. Group-delay

d. Impulse response

e. Pole-zero

Solutions

Expert Solution

Code:

clc;close all;clear all;

fp=10000; fs=15000;Ap=1;As=50;

Fs=40000;wp=2*fp/Fs; ws=2*fs/Fs;

%Elliptic Filter

[N,wp] = ellipord(wp,ws,Ap,As);

[b,a] = ellip(N,Ap,As,wp,'s');

w=0:pi/1000:pi;

[H,w]=freqs(b,a,w);

figure;

subplot(221)

n=0:1:20;

h=impz(b,a,21);

stem(n,h);grid;

xlabel('n')

ylabel('h(n)')

title('Impulse response')

subplot(222)

plot(w/pi,abs(H));grid;

xlabel('w/pi');ylabel('|H(w)|');

title('Magnitude response')

subplot(223)

plot(w/pi,20*log10(abs(H)));grid;

xlabel('w/pi');ylabel('|H(w)|');

title('Log Magnitude response')

gd=grpdelay(b,a,w);

subplot(224)

plot(w/pi,gd);grid;

xlabel('w/pi');ylabel('|H(w)|');

title('Group delay')

figure;

sys=tf(b,a);

pzplot(sys)


Related Solutions

2. Design a digital lowpass filter to meet the following specifications: passband edge = 0:45π stopband...
2. Design a digital lowpass filter to meet the following specifications: passband edge = 0:45π stopband edge = 0:5π Rp = 0.5 dB, As = 60 dB a. Design a Buttterworth filter, you may use the butteworth and butter commands to implement. b. Design Chebyshev Type 1 filter ( use the equivalent commands to above ) c. Design an Elliptic filter ( use the equivalent commands to part a ). d. List the order of each filter and find the...
Design a Butterworth bandpass filter with the given requirements: 10 dB stopband attenuation at 100 rad/sec...
Design a Butterworth bandpass filter with the given requirements: 10 dB stopband attenuation at 100 rad/sec and 900 rad/sec 1dB passband attenuation at 400 rad/sec and 600 rad/sec
1. We want to design a discrete-time bandpass filter that samples and processes analog signals. The...
1. We want to design a discrete-time bandpass filter that samples and processes analog signals. The frequency response is 0 at 0 Hz and 500 Hz, and resonant occurs at 125 Hz. The sampling interval T= 1 msec. Find the transfer function H[z] of these filters and mark the poles and zeros on the complex plane.
Problem 10-21 Design specifications require that a key dimension on a product measure 102 ± 15...
Problem 10-21 Design specifications require that a key dimension on a product measure 102 ± 15 units. A process being considered for producing this product has a standard deviation of eight units. a. What can you say (quantitatively) regarding the process capability? Assume that the process is centered with respect to specifications. (Round your answer to 4 decimal places.) Process capability index             b. Suppose the process average shifts to 94. Calculate the new process capability. (Round your answer to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT