Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Suppose that you need to compute the DFT of the function: d(t)=exp(2t2) using MatLab's fft() function. This function is centered on t=0, and therefore

image text in transcribed

2. Suppose that you need to compute the DFT of the function: d(t)=exp(2t2) using MatLab's fft() function. This function is centered on t=0, and therefore has nonnegligible values for points to the left of the origin. Unfortunately, we have defined the time and data column-vectors, t and d, to start at time zero, so there seems to be no place to put these data values. One solution to this problem is to shift the function to the center of the time window, say by an amount, t0, compute its Fourier transform, and then multiply the transform by a phase factor, exp (it0) that shifts it back. Another solution relies on the fact that, in discrete transforms, both time and frequency suffer from aliasing. Just as the last frequencies in the transform were large positive frequencies and small negative frequencies, the last points in the time series are simultaneously and t=[(N3)t(N2)t(N1)t]T t=[3t2tt]T Therefore, one simply puts the negative part of d(t) at the right-hand end of d. Write a MatLab script to try both methods and check that they agree. SOLVE USING MATLAB

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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_2

Step: 3

blur-text-image_3

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

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions