Plot the poles and zeros of the filter using zplane, MATLAB Programming

Assignment Help:

A filter described by the equation:    y(n) = x(n) + x(n-1) + 0.9 y(n-1) - 0.81 y(n-2)

(a) Find the transfer function H(z) for the filter and find the poles and zeros of the filter.

(b) Plot the poles and zeros of the filter using zplane(b,a) and tell whether or not this filter is stable.

(c) Plot the magnitude and phase of the frequency response of the filter.  Annotate the plots to indicate the magnitude and phase response at points ω=0.33π and  ω=π.

(d) Generate 200 samples of the signal x(n) = sin(0.33π n) + 5 cos(nπ) and process them through the filter. Plot both the filter's input x(n) and output y(n) on the same graph.

(e) How are the amplitudes of the two sinusoids affected by the filter?

(f)  Determine the equation for the steady-state output yss(n) of the filter whose input is x(n).

Q.

(a) Find the spectrum of this waveform:  x = [ exp( -[0:1:49]/10), exp(-[50:-1:1]/10)]. Subplot only the magnitude by using the spectrum program from the class notes.

(b) Using this information from the 100-point DFT, re-create the waveform by summing the sinusoidal contributions from all the DFT coefficients as done in lecture. Show both the waveform x and its recreation xhat on another subplot. (The waveforms might merge into one figure so the mean square error is effectively zero in this case.)

(d) Using MATLAB, find the index n0 at which the spectral magnitude falls below 0.05 of its maximum (which is a point beyond which there is little energy left in the higher frequencies.)

(e) Using only the first n0 DFT coefficients, generate the waveform and plot in Matlab by using the symmetry properties of the transform. Plot xhat over the actual signal and annotate the plot to indicate the value of the calculated mse. Title and label the axes. Submit plot and code.


Related Discussions:- Plot the poles and zeros of the filter using zplane

Call to length function, Call to length function: The call to length f...

Call to length function: The call to length function consists of the name of the function, followed by an argument in the parentheses. This function takes the argument, and re

Matrix, if i have a 3x2 double.. how can i run a for loop for this matrix s...

if i have a 3x2 double.. how can i run a for loop for this matrix so tht it can subtracted values of he adjacent neighbors?

Find the right hand side of the interpolation system, function y=tps(r) % ...

function y=tps(r) % This is the thin-plate spline if r  y=0; else  y=r^2*log(r); end function y=fun(point) % my target function x=point(1); z=point(2); y=7-4*x^2+z^3;

Assignment`, matlab code for The region bounded by the parabola x2 = y and ...

matlab code for The region bounded by the parabola x2 = y and the line y = x in the first quadrant is rotated about the X-axis to generate a solid. Find the volume of the solid.

Operators, Operators: There are in general two types of operators: una...

Operators: There are in general two types of operators: unary operators that operate on a single value or operand; and binary operators, that operate on two values or operands

Printing - matrices, Printing - matrices: For matrices, the MATLAB unw...

Printing - matrices: For matrices, the MATLAB unwinds the matrix column by column. For illustration, consider the random 2 × 3 matrix as shown below: >> mat = randint(2,3,[

Draw the histogram of the original image, Given the following image, ...

Given the following image, 1 2 1 1 2 0 0 1 5 1 0 1

sparse storage , Compare results/performance with tridiagonal Gaussian eli...

Compare results/performance with tridiagonal Gaussian elimination solver for the problem arising from -y''=f   on (0,1) with y(0)=0=y(1). You may also need to use sparse storage an

Relational expressions, Relational Expressions: The Conditions in if s...

Relational Expressions: The Conditions in if statements use expressions which are theoretically, or logically, either true or false. These expressions are termed as relational

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd