/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q8E Practice with the fast Fourier t... [FREE SOLUTION] | 91影视

91影视

Practice with the fast Fourier transform.

(a) What is the FFT of (1,0,0,0)? What is the appropriate value of in this case? And of which sequence is (1,0,0,0)the FFT?

(b)Repeat for (1,0,1,-1).

Short Answer

Expert verified

Part (a)

FTT of (1,0,0,0) is: (1,1,1,1)

Approximate value of is: i

Sequence is:14,14,14,14

Part (b)

FTT of (1,0,1,-1) is:(1,i,3,-i)

Step by step solution

01

Solution of part (a)

Fast Fourier Transform (FFT) of 1,0,0,0& the numbers of ':

The 44matrix of FFT is,

M4'=111112312461369 鈥︹ (1)

The nth root of unity's complicated value is,

localid="1658922894437" '=e2in 鈥︹ (2)

Extra information base calculation value 鈥4鈥 for 鈥渘鈥 in the Equation (2). Thus, the value of is,

'=e2in

=ei2

Note: eix=cosx+isinx

Thus, ei2has been written as given details:

localid="1658923197401" =cos2+isin2=cos90+isin90(3)

=0+i1=i

Alternative calculation of Equation (3) in Equation (1),

M4'=11111ii2i31i2i4i61i3i6i9......4Ingeneral,thevalueofi,i2i3i4are,i=ii2=-1i3=-ii4=1......5Thecalculationvalueofi6,i9is,i6=i4i2=-1i9=i6i3=i......6Alternativecalculationvaluesarei,i2,i3,i4,i6,i9inEquation(4).TheFFTmatrixis,

M4'=11111i-1-i1-11-11-i-1i......7LetthegivenmatrixbeA=1000......8

The FFT of A is,

The FFT of 1,0,0,0=M4'A......9 鈥︹ (9)

Alternative of calculation related value of 鈥淎鈥 matrix and M4in Equation (9),

=11111i-1-i1-11-11-i-1i1000=1111

As a result of Calculation (3), the correct value of=iand the FFT of (1,0,0,0) is (1,1,1,1).

Progression of FFT it is priceless1,0,0,0:

Apply the inverted FFT, which equals to determine the FFT sequence,

Inverse FFT=1nMn-1鈥︹ (10)

Here, from Equation (3), the value of . Thus, the value of is:

role="math" localid="1658981947890" =cos2+isin2-1=cos-2+isin2=cos2-isin2-1=-i(11)

Accepting the value of role="math" localid="1658982023034" M4-2substitute i=-i in Equation (4)

M4-2=11111-i-1i1-11-11i-1-i......12

Now let us say the matrix is

B=1000(13) 鈥︹ (13)

So, there is inverse FFT (B) is,

The inverse FFT (B)=14BMn-1 鈥︹ (14)

Substitute the value of 鈥淏鈥 matrix and Mn-1in Equation (14),

=1411111-i-1i1-11-11i-1-i1000=141111

Therefore, the sequence of FFT that has the1,0,0,0is14,14,14,14

02

Solution of part (b)

Fast Fourier Transform (FFT) of ( 1,0,1,-1 ) :

Let the given matrix be,

C=101-1......15

The FFT of ( 1,0,10-1 ) is,

The FFT of 1,0,1,-1=CMn-1 鈥︹ (16)

Substitute the value of 鈥淐鈥 matrix and Mn-1in Equation (16),

=11111i-1-i1-11-11-i-1i101-1=1+0+1-11+0-1+i1+0+1+11+0-1-i=1i3-1

Therefore, the FFT of 1,0,1,-1is1,i,3,-iis .

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91影视!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

What is the sum of the nth roots of unity? What is their product if n is odd? If n is even?

Consider the task of searching a sorted array A[1,,n] for a given element x: a task we usually perform by binary search in time O(logn) . Show that any algorithm that accesses the array only via comparisons (that is, by asking questions of the form 鈥渋s A[i]z 0?鈥), must take (logn) steps.

Show that for any positive integers n and any base b , there must some power of b lying in the range [b,bn].

In Section 1.2.3, we studied Euclid鈥檚 algorithm for computing the greatest common divisor (gcd) of two positive integers: the largest integer which divides them both. Here we will look at an alternative algorithm based on divide-and-conquer.

(a) Show that the following rule is true.

gcd(a,b)={2gcd(a2,b2)ifa,bareevengcd(ab2)ifaisodd,bisevengcd(a-b2,b)ifa,bareodd

(b) Give an efficient divide-and-conquer algorithm for greatest common divisor.

(c) How does the efficiency of your algorithm compare to Euclid鈥檚 algorithm if a and b are n-bit -bit integers? (In particular, since n might be large you cannot assume that basic arithmetic operations like addition take constant time.)

A kway merge operation. Suppose you have ksorted arrays, each with nelements, and you want to combine them into a single sorted array ofkn elements.

(a)Here鈥檚 one strategy: Using the merge procedure from Section 2.3, merge the first two arrays, then merge in the third, then merge in the fourth, and so on. What is the time complexity of this algorithm, in terms of kand n?

(b) Give a more efficient solution to this problem, using divide-and-conquer.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.