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

Scripts with input and output, Scripts with Input and output: Placing ...

Scripts with Input and output: Placing all this together, we can implement the algorithm from the starting of this section. The following script computes and prints the area o

Write a script file which will determine the displacement, The mass of the ...

The mass of the spring-mass-damper system shown below was initially displaced by 1 meter to the right and then released. The subsequent acceleration of the mass was measured using

write a matlab program to generate and plot the signal, 1.      Write a MA...

1.      Write a MATLAB program to generate and plot the signal                                     x1(n) = [3 2 -2 0 7],  n = 0,1,2,3,4. 2.      Write a MATLAB program to gen

Find the total per phase inductance and per phase shunt, A 300 km, 3-phase,...

A 300 km, 3-phase, 50Hz transmission line has spacing as shown in Figure 2. Each phase of the line consists of a bundle of three conductors.  (a) Find the total per-phase induct

Input function, Input Function: The Input statements read in values fr...

Input Function: The Input statements read in values from the default or standard input device. In most of the systems, the default input device is the keyboard; therefore the

Identify an equation that describes some chemical process, 1) Identify an e...

1) Identify an equation that describes some chemical process.  Your equation should have at least two parameters, at least one of which should contribute in a non-linear way. He

Example of hold and legend function, Example of Hold and legend function: ...

Example of Hold and legend function: Running this script will generate two individual figure windows. If there is not any other active figure window, the first, that is the ba

Compute the sum of all the columns of a matrix, 1. Enter the 3×4 matrix ...

1. Enter the 3×4 matrix Let a ij denote the entry of A in the ith row and jth column. Use Matlab to compute the following : (a) a 13 + a 32 (b) Three times the

Option pricing, Barrier Option pricing in Matlab using MC simulation or fin...

Barrier Option pricing in Matlab using MC simulation or finite difference methods

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