Question

Please use MATLAB to answer. for a 4th order lowpass butterworth digital filter. fc:0.35 sampling freq:...

Please use MATLAB to answer. for a 4th order lowpass butterworth digital filter. fc:0.35 sampling freq: 10Hz find passband and stopband of both analogue and discrete butterworth filter.

Homework Answers

Answer #1

MATLAB code is given below in bold letters.

clc;
close all;
clear all;


% define N
N = 4;

% define fs
fs = 10;

% define fc
fc = 0.35;

% obtain the butterworth filter coefficients
[B,A] = butter(N,fc,'low');

% define the discrete transfer function
H = tf(B,A,1/fs)

% Now plot the pole-zero diagram of the filter
figure;
zplane(B,A);grid on;

result:

Transfer function:
0.03049 z^4 + 0.1219 z^3 + 0.1829 z^2 + 0.1219 z + 0.03049
----------------------------------------------------------
z^4 - 1.175 z^3 + 0.9256 z^2 - 0.3104 z + 0.04766

Pole zero plot is given below:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Please use MATLAB to answer. for a 4th order lowpass butterworth digital filter. fc:0.35 sampling freq:...
Please use MATLAB to answer. for a 4th order lowpass butterworth digital filter. fc:0.35 sampling freq: 10Hz draw pole-zero diagram of digital filter.
Use MATLAB please find the passband and stopband of (digital an analouge) butterworth filter: number of...
Use MATLAB please find the passband and stopband of (digital an analouge) butterworth filter: number of order: 4 fc= 0.35 type=lowpass fs=10Hz
7. Optimal Lowpass Filter. Use the MATLAB command h = firpm(28, [0 0.30 0.36 1], [1...
7. Optimal Lowpass Filter. Use the MATLAB command h = firpm(28, [0 0.30 0.36 1], [1 1 0 0]) to design an optimal lowpass filter with length 29, passband from 0 to wp = 0.30pi and a stopband from ws = 0.36pi to pi with a desired response of 1 in the passband and zero in the stopband. (Assume equal error weighting in both the passband and stopband for the optimal filter in all exercises except Exercise 11.) Plot the...
DON'T USE MATLAB to design a digital filter using the window method to meet the following...
DON'T USE MATLAB to design a digital filter using the window method to meet the following requirements: Stop band attenuation: ≥43 dB and <49 dB Pass band edge frequency: 3.2 kHz Stop band: 0 to 2.4 kHz Maximum pass band ripple: 0.0546 dB Phase response: Linear. Sampling frequency: 16 kHz Determine the first 6 filter coefficients. NB: Please don't use MATLAB to get the answers. do it manually!
MATLAB FIR filter design. The audio file, covering the frequency range of roughly 0 to 3000...
MATLAB FIR filter design. The audio file, covering the frequency range of roughly 0 to 3000 Hz, is very badly corrupted with high?level noise. Your problem is to design a digital filter that will sufficiently attenuate the noise so that the audio speech is intelligible. (sorry but chegg doesn't allow me to attach the wav file) Here is the design template: clear, clc % clear all variables %% Read in the noisy audio signal from the file 'CapnJ.wav' using audioread...
Problem 1....... you can use Matlab The following Scilab code generates a 10-second “chirp” with discrete...
Problem 1....... you can use Matlab The following Scilab code generates a 10-second “chirp” with discrete frequencies ranging from 0 to 0.2 with a sampling frequency of 8 kHz. clear; Fs = 8000; Nbits = 16; tMax = 10; N = Fs*tMax+1; f = linspace(0.0,0.2,N); x = zeros(f); phi = 0; for n=0:N-1 x(n+1) = 0.8*sin(phi); phi = phi+2*%pi*f(n+1); end sound(x,Fs,Nbits); sleep(10000); //allows full sound to play Add code that calculates and plays y (n)=h(n)?x (n) where h(n) is the...