Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Given three sinusoids with the following amplitude and phases: x 1 (t) = 5 cos (2 (500)t) x 2 (t) = 5 cos (2

1. Given three sinusoids with the following amplitude and phases:

x 1 (t) = 5 cos (2π (500)t)

x 2 (t) = 5 cos (2π (1200)t + 0.25π )

x 3 (t) = 5 cos (2(1800)t + 0.5π )

a. Create a MATLAB program to sample each sinusoid and generate a sum of three sinusoids, that is, x(n) = x 1 (n) + x 2 (n) + x 3 (n), using a sampling rate of 800 Hz, and plot the sum x(n) over a range of time that will exhibit approximately 0.1 second.

2. b. Use the MATLAB function fft() to compute DFT coefficients, and plot and examine the spectrum of the signal x(n).

a. Generate the sum of sinusoids for 240 samples using a sampling rate of 8000 Hz.

b. Write a MATLAB program to compute and plot the amplitude spectrum of the signal x(n) with the FFT and using each of the following window functions:

(1) Rectangular window (no window)

(2) Triangular window

(3) Hamming window

c. Examine the effect of spectral leakage for each window used in (b).

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

1 clc clear all close all n0150 x15cos2pi500n8000 x25cos2pi1200... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Document Format ( 2 attachments)

PDF file Icon
60951434e1c2e_25522.pdf

180 KBs PDF File

Word file Icon
60951434e1c2e_25522.docx

120 KBs Word File

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability and Random Processes With Applications to Signal Processing and Communications

Authors: Scott Miller, Donald Childers

2nd edition

123869811, 978-0121726515, 121726517, 978-0130200716, 978-0123869814

More Books

Students also viewed these Programming questions

Question

=+What steps can they take to overcome these hurdles?

Answered: 1 week ago

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago