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
Ask question #Mingdfgdfgdfgimum 100 words accepted#

Illustration of Variable number of input arguments: In this situation, it was supposed that the radius will always be passed to the function. The function header can hence be

how to implement 3 out of 4 visual cryptography in MATLAB?

Finite Difference Method for An Elliptic Partial Differential Equation   Problem  Use the finite difference method and MatLab code to solve the 2D steady-state heat equat

Common form of a function definition: The common form of a function definition for a function which computes and returns one value looks like this: For illustration, t

In this lab, we study the three concepts. Vector is used to store more than one value into single variable. It is similar to array (other programming language). Script is a collect

Savannah says that the least common multiple of 4 and 6 is 24. Is she right or what is her mistake?

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

Write a function called threshold2 (in a file called 'threshold2.m'). The function takes an arbitrary number of input variables. The first input variable, t, is required and is the

Ft. Loudoun and Watts Bar are two large hydroelectric dams, the former upstream of the latter. The level of Watts Bar Lake must be kept within limits for recreational purposes, and