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
Error in variables statements: Error: The expression in the left of equals sign is not a valid target for an assignment. >>  By placing a semicolon at the end of the sta

Illustrations of calling the rand function: The function ‘rand’ can be used to produce random real numbers; calling it produces one random real number in the range from 0 to

clear tic L=1; T=0.2; nust=2000; dt=T/nust; n=40; dx=L/n;   r=1;  omega=10:10:5000;%Store Range of Frequencies for Simulation u=zeros(n+1,nust+1);%

Code and decode a 32 bit long data for a specific user in CDMA if there is only 1 user and no noise.

Illustration of modifying the matrix elements: If a single index is used with the matrix, the MATLAB unwinds the matrix column by column. For illustration, for the matrix intm

MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions

Example of Linear indexing: For illustration, the following substitutes the whole second row with values from a vector  The whole row or column could also be changed : >> m


I have couple questions in MATLAB I need help in

Customizing a Plot: Line Types, Color, Marker Types: Plots can be completed in the Command Window, if they are really simple. Though, at many times it is desirable to customiz