Find and plot the magnitude of the dtft, MATLAB Programming

Assignment Help:

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.


Related Discussions:- Find and plot the magnitude of the dtft

Robot, How to simulate a robot

How to simulate a robot

Dgdsrgds, Ask question #Mingdfgdfgdfgimum 100 words accepted#

Ask question #Mingdfgdfgdfgimum 100 words accepted#

Ray tracing equations, i want to write a program in mat lab for optimizing ...

i want to write a program in mat lab for optimizing the design of lens help me how could i i am new user of matlab but previously i have work on C++.

Matrix addition, Write a program in Mathlab for addition of two matrices.

Write a program in Mathlab for addition of two matrices.

#title.the number of pixels related to the actual phase, #question.i want t...

#question.i want to know the number of pixels related to the actual phase value and want to separate the zero phase valued pixels from the image..

Quadratic interpolation of temperature, Temperature readings were done ever...

Temperature readings were done every hour (starting at 1 P.M., but the end time could vary) and stored in a vector called readings. Write a function called halffit that receives th

What are the matlab system parts, The MATLAB system having of five main par...

The MATLAB system having of five main parts: * Handle Graphics. * The MATLAB working environment. * The MATLAB language. * The MATLAB mathematical function library.

Linear Programming, Ft. Loudoun and Watts Bar are two large hydroelectric d...

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

Matlab, hi, I would like to get quote for my matlab assignment help? thanks...

hi, I would like to get quote for my matlab assignment help? thanks

What is matlab, MATLAB is a high-performance language for technical computi...

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 Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd