Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

The purpose of this assignment is to learn about how the duration of a signal affects the properties of its Fourier Transform.

Part 1: In Matlab, create the following signal x(t) with a duration of 50 seconds.

x(t) = cos(2π · 1 · t) + cos(2π · 2 · t)

Use myFFT to generate the Fourier Transform of x(t). Plot the absolute value of the Fourier Transform and zoom in to the range 0 to 10Hz. Can you see the two peaks corresponding to the cosines at frequencies f = 1Hz and f = 2Hz?

Now repeat the above steps but reduce the signal duration first to 5 seconds, then to 1 second. How does the Fourier Transform change as a result of shortening the signal duration? Can you think of why this might be happening (you might want to look back at Computer Assignment 1 for some insight)? If you are supposed to analyze the frequency content of a signal, would you prefer that the signal be long or short? Why?

Part 2: For signals where the frequencies vary with time, we typically use a tool called a spectrogram to analyze the signal. The spectrogram basically takes the signal, splits it down into windows, and takes the Fourier Transform of the signal in each window. In this part, you will be taking the spectrogram of a signal and evaluating how the window duration affects the frequency analysis.

Use your results from Part 1 to inform your observations.

From the Blackboard page, download mySpectrogram.m as well as the audio files piano.wav and sax.wav. Use the wavread command to load the piano signal into Matlab. Recall that you can use the soundsc function to listen to the imported sound. Use mySpectrogram to look at the frequency content. That command can be called by entering mySpectrogram(s,win,fs) where s is the imported signal, win is the window length (in seconds) and fs is the sampling rate of the signal. Create the spectrogram using window durations of 0.01, 0.1, and 0.25 seconds. How do the spectrograms differ? Why? What are the tradeoffs that an engineer should consider when selecting a spectrogram window duration? Although the piano sound is a bit easier to interpret, you might also consider loading and analyzing the sax sound since it has lots of short notes instead of a handful of long ones.

One more helpful hint: you can zoom in on your spectrogram plots by either using the magnifying glass icon in the plot window, or by using the xlim and ylim commands

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91522497
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Question the project presentation should demonstrate

Question: The project presentation should demonstrate knowledge in the chosen area. The presentation should be formatted as follows: 12-point font using Times New Roman Use APA style correctly throughout the presentation ...

When i have a class that extends application public class

When I have a class that extends Application (public class Game extends Application) I can easily call it from my driver class by typing launch(Game.class). Now I have two other classes where one extends JFrame and the o ...

Question suppose that we want to create a divide and

Question : Suppose that we want to create a divide and conquer matrix multiplication algorithm for square matrices. Assuming that n is a power of three, the algorithm divides each matrix of A, D, and C into nine equi-siz ...

Research the web for an example of a startup using a cloud

Research the Web for an example of a startup using a cloud infrastructure. What were the main reasons for choosing a cloud infrastructure? What alternatives did the startup have? Answer should be at least 1 page long dou ...

Can someone please help me with this examthis is consists

can someone please help me with this exam This is consists of four questions. The questions are designed to test your understanding of certain concepts that were studied over the course of the semester. Please answer all ...

Could you help me to solve the following stats problemthe

Could you help me to solve the following stats problem? The number of patients waiting for flu vaccine at A hospital has the following probability distributions. x 1 2 3 4 p(x) 0.2 0.3 0.4 0.1 What is the variance of num ...

A swimmer is an athlete any athlete who participated in the

A swimmer is an athlete. Any athlete, who participated in the 2016 Summer Olympics and won a gold medal, was joyful. Any athlete, who is the world top athlete or a selected well-trained athlete, participated in the 2016 ...

Why does the marginal cost curve always intersects the

Why does the marginal cost curve always intersects the average total cost curve and AVC?

A system has two levels of cache l1 and l2 between

A system has two levels of cache L1 and L2 between processor and main memory. If a referenced word is in L1, 10 ns are required to access it. The look-up time for L2 is 20 ns. L1 hit ratio is 30% and L2 hit ratio is 50%. ...

Ellen is an anthropologist who has been working at olduvai

Ellen is an anthropologist who has been working at Olduvai Gorge in Tanzania for the past six months. She has been conducting research on the Internet. She finds a Web site with an article that proposes a revolutionary t ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As