Find and plot the magnitude of the dtft, 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.

(a) Using Matlab, find and plot the magnitude of the DTFT of 10 samples of x(n) for n=[0:1:9] of x(n) = cos(2*pi*f1*n) + cos(2*pi*f2*n)  for f1=0.22 and f2=0.24 and pad zeros to get 100 samples. Let the frequency axis run from 0 to 2 in pi units. Use 500 frequency points to plot the DTFT.

(b) Using Matlab, overlay on the plot the magnitude of the DFT coefficients Xk vs frequency in pi units for a 100 point transform of this set of samples.

(c) Find the DFT frequency resolution. On the plot, indicate where f1 and f2 are on the frequency axis.

(d)  Now use 100 sample points of the waveform with no zero padding in the DFT magnitude plot. Annotate this  plot and indicate the frequencies f1 and f2 present in the wave form.

(e) Title the plots and label the axes appropriately. Submit the plots along with the source code.

Posted Date: 3/9/2013 1:34:04 AM | Location : United States







Related Discussions:- Find and plot the magnitude of the dtft, Assignment Help, Ask Question on Find and plot the magnitude of the dtft, Get Answer, Expert's Help, Find and plot the magnitude of the dtft Discussions

Write discussion on Find and plot the magnitude of the dtft
Your posts are moderated
Related Questions
Implement a MatLab function to calculate y.  The function should take two input arguments 1) A vector of parameters In the above example this would be of length 3, the first

Non-Ideal Gas (van der Waals equation):  An equation of state for a non-ideal which is commonly used is the van der Waals equation for 1 mol of gas  P = (R*T)/(V-b) - a/(V^2)


In many applications, including ?nancial mathematics, ?nding zeros of a function f(x) = 0 (4) is paramount. One of the simplest method is the Bisection Method. The bisection

Variable names: Variable names are an example of the identifier names. The rules for identifier names are as shown below: (A)The name should begin with a letter of the alph

Answers should be submitted in an MS Word document. Simulations should accompany answers in a separate MATLAB file. 1)  Queuing Simulator: Consider a communications router that

Scripts to Produce and Customize the Simple Plots: The MATLAB has many graphing capabilities. In most cases, customizing plots are desired and this is the simplest to accompli


ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7-6 6-8 7-8 THE COMMPANY LOSES 2,000 FOR EVERY WEEK THE PROJECT LASTS BEYOND 30 WEEKS. fOR EACH OF THE PROPOSALS; ACTIVI

Appending data to a data File: A text file once exists; the data can be appended to it. The format is similar as formerly, with the addition of the qualifier -append. For illu