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

Alex Takahashi, I need assistance in learning on how to do simulation of sy...

I need assistance in learning on how to do simulation of system described with an algebraic equations.

Triple the fundamental frequency, For the signal with four harmonics (first...

For the signal with four harmonics (first to fourth) that can be obtained from the script, do the following: a)  Place the time domain signal for the case in which all the harmo

Illustration of switch statement, Illustration of switch statement: He...

Illustration of switch statement: Here are the two illustrations of calling this function: >> quiz = 22; >> lg = switchletgrade(quiz) lg = X >> quiz = 9; >>

Algorithms, Algorithms: Before writing any computer program, it is ver...

Algorithms: Before writing any computer program, it is very useful to first outline the steps which will be essential. An algorithm is the series of steps required to solve a

Create matlab graphs of data properly annotated, A. Introduction The p...

A. Introduction The project consists of two parts. In the first part you are asked to perform some preliminary calculation and plotting, and to write the introduction for your

Logical operators, logical operators: The logical operators are as sho...

logical operators: The logical operators are as shown below: All the logical operators operate on Boolean or logical operands. The not operator is a unary operator; wh

Grid function - plot functions, Grid function: grid shows grid lin...

Grid function: grid shows grid lines on the graph. Called by itself, it is a toggle which turns the grid lines on & off. Alternatively, the commands grid on & grid off can

Size function - dimensions of matrix, Size function - Dimensions of matrix:...

Size function - Dimensions of matrix: For the matrix mat shown next, it has three rows and two columns, therefore the size is 3 × 2. The length is the larger dimension that is

Illustration to logical function , Illustration to logical function: I...

Illustration to logical function: In addition to such logical operators, the MATLAB also has a function xor, that is the exclusive or function. It returns the logical true if

Calculate the velocity of groundwater, The characteristic properties of an ...

The characteristic properties of an aquifer can be used to calculate groundwater velocities, v groundwater (L/T), according to: where KH (L/T) is the hydraulic conductivit

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