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
(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 ge

Write a MATLAB program that calculates the arithmetic mean, and the root-mean-square average for a given set of values. The output should be formatted as follows: Y

draw midpoint circle by matlab

Various commands for get the help: There are various commands which can serve as an introduction to MATLAB and allow you to get the help: info will show contact informatio

Write single MATLAB statements to create these vectors from any vector Z. You can use vector Z shown as a sample input. Create a single m-file script (non-function) to containing a

i want matlab code for DFB Equiliser and the output between tha number of iterations vs MSE

I am trying to implement this equation u_t=-\u_x\ using upwind scheme. and as a second step, I need to put some stopping function g(h) where u_t=-g(h)\u_x\ how can I write this on

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

the cost t in hundreds of dollars of tuition and fees at many community college can be approximated by t=1/2c+5 where c is the number of credits for which a student registers. ( 2

The Efficient Method: Though, in MATLAB, there is another built-in function which specifically produces random integers, i.e. randint. Calling the function with randint (1,1,n