1. Homepage
  2. Homework
  3. BMED 2500 Homework2 - Analysis of discrete-time signals using MATLAB - Q4 Fourier transform

BMED 2500 Homework2 - Analysis of discrete-time signals using MATLAB - Q4 Fourier transform

Engage in a Conversation
This question has been solved

4. (36 marks) Discrete Fourier transform (DFT) by fast Fourier transform (FFT)

CourseNana.COM

  CourseNana.COM

a. Generate a 5-cycle 10 Hz sine signal with an amplitude of 1 at a sampling rate of 500 Hz. CourseNana.COM

i. What is the total number of samples in this discrete-time signal? (1 mark) CourseNana.COM

CourseNana.COM

ii. Perform an N-point DFT of this signal by directly calculating the equation. Choose a proper N.(10 marks) CourseNana.COM

CourseNana.COM

iii. Now, perform FFT of this signal using the built-in ‘fft’ function with the same N and compare the computation speed of FFT and DFT in (i). Which one is faster?(4 marks) CourseNana.COM

CourseNana.COM

iv. Add random noise to the sine signal in the time domain and plot the noisy signal (Hintbuilt-in ‘randn’ function; you can self define a standard deviation to contaminate the original signal with larger or smaller random noise). (5 marks) CourseNana.COM

CourseNana.COM

v. Perform FFT of the noisy signal in iv). Plot the amplitude spectrum of this noisy signal. Observe the spectrum, compare it with the amplitude spectrum obtained in iii), and briefly describe any obvious difference between the two spectra. (6 marks) CourseNana.COM

CourseNana.COM

  CourseNana.COM

b. Filter the noisy signal with a commonly used one—Butterworth filter. (Hint: built-in ‘buttord’ to estimate the filter order and cut off frequency, ‘butter’ to obtain the filter coefficients, and then ‘filter’ to filter the signal.) Then, plot the original and filtered signals in the same figure using built-in ‘hold on’ function. Are you able to successfully filter the random noise? (10 marks) CourseNana.COM

CourseNana.COM

CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
BMED 2500代写,Matlab代写,代写,Sginal代写,Plot代写,BMED 2500代编,Matlab代编,代编,Sginal代编,Plot代编,BMED 2500代考,Matlab代考,代考,Sginal代考,Plot代考,BMED 2500help,Matlabhelp,help,Sginalhelp,Plothelp,BMED 2500作业代写,Matlab作业代写,作业代写,Sginal作业代写,Plot作业代写,BMED 2500编程代写,Matlab编程代写,编程代写,Sginal编程代写,Plot编程代写,BMED 2500programming help,Matlabprogramming help,programming help,Sginalprogramming help,Plotprogramming help,BMED 2500assignment help,Matlabassignment help,assignment help,Sginalassignment help,Plotassignment help,BMED 2500solution,Matlabsolution,solution,Sginalsolution,Plotsolution,