Plot the input and the output of the filter on a single plot, MATLAB Programming

An FIR filter has coefficients b = [ 1.0000   -0.6387    1.0214    0.8210   -0.7470    1.0920 ]

(a) Find H(z) for the filter and plot its frequency response (magnitude and phase) using subplot.

(b) For an input of x(t) =5 cos(100πt) sampled at fs=250Hz,  plot the input and the output of the filter on a single plot. Use a sample input vector of 100 points. Annotate the plot showing the gain and phase shift caused by the filter. State how these values relate to the plot of part (a).

(c) Submit your source code and subplots.

Posted Date: 3/8/2013 4:37:15 AM | Location : United States







Related Discussions:- Plot the input and the output of the filter on a single plot, Assignment Help, Ask Question on Plot the input and the output of the filter on a single plot, Get Answer, Expert's Help, Plot the input and the output of the filter on a single plot Discussions

Write discussion on Plot the input and the output of the filter on a single plot
Your posts are moderated
Related Questions
I need a source code for hand detection in matlab please ....

how can write a program to make a marksheet of 6 subjects?

how to display any words to the edittor

Illustration of Function functions: For illustration, to pass the sin function into fplot, one would pass its handle as shown in figure for the result.   >> fplot(@s


Expand a matrix: To expand a matrix, an individual element could not be added as that would mean there would no longer be the similar number of values in every row. Though,

Run the MATLAB script sum = single(0); term = single(1); n=1; while sum + term > sum sum = sum+term; n=n+1; term = 1/n; end n Explain what you think it is trying to do. What wou

Show the output - algorithms: Where does the output go? The two possibilities are (i) to an external file, or (ii) to a window on the screen. Based on system, one of these wil

Rules for variable names: In addition, the variable names must always be mnemonic that means they should make some sense. For illustration, if the variable is storing the radi

Define a function: The radius of a circle is passed to the function to input argument  rad; the function computes the area of this circle and stores it in the output argument