Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 370 Winter : Assignment 3 with correct answers

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
16-01-2023
Written in
2022/2023

CS 370 Winter 2018: Assignment 3 Due March 15, 5 pm. Instructor: G. Labahn Office: DC3629 e-mail: Lectures: MWF 8:30, 11:30 Office Hours: Tues 11:00-12:00 Instructor: Y. Li Office: DC3623 e-mail: Lectures: MWF 1:30 Office Hours: Thurs 2:00-3:00 Web Site: cs370 piazza Your assignment should be handed in electronically on UW Learn. The submission should include one pdf file containing the assignment answers and the cover sheet and all the m-files required to run the code, with no folder structure (not zipped). Analytic Questions 1. (10 marks) (a) Calculate by hand the discrete Fourier transform of f = (1, 2, 3, 2). (b) Calculate by hand the inverse discrete Fourier transform of F = (4, −1, 0, −1). 2. (15 marks) Let {F0, . . . , FN−1} be the DFT of a sequence {f0, . . . , fN−1} defined by Fk = 1 N N X−1 n=0 fnW−nk with W = e 2πi N the Nth root of unity. Show your work and simplify where possible. (a) Give a formula for Fk for all k when fn = (−1)n for n = 0, ..., N − 1. (b) Suppose (f0, . . . , fN−1) = (−1, . . . , −1, 1, . . . , 1) having the first half negative one and remaining half one (with N even). Show that F2k = 0, k= 0, 1, . . . , N 2 −1. 3. ( 20 marks) Consider the sequence of eight numbers f = ( 1, 0, 2, 0, −1, 0, −2, 0 ). (a) What are the two arrays (g and h, each of length 4) that are used in computing the DFT of f by the FFT method? (b) Compute G and H, the two DFTs for {gi} and {hi}, respectively, using the definition of DFT of 4 values. Simplify if possible. (c) Using G and H from part b), write out the DFT of the array f. (d) Using the FFT butterfly algorithm, compute by hand the DFT of f.

Show more Read less
Institution
Course

Content preview

CS 370 Winter 2018: Assignment 3
Due March 15, 5 pm.
Instructor: G. Labahn Office: DC3629 e-mail:
Lectures: MWF 8:30, 11:30 Office Hours: Tues 11:00-12:00

Instructor: Y. Li Office: DC3623 e-mail:
Lectures: MWF 1:30 Office Hours: Thurs 2:00-3:00


Web Site: cs370 piazza

Your assignment should be handed in electronically on UW Learn. The submission
should include one pdf file containing the assignment answers and the cover sheet and
all the m-files required to run the code, with no folder structure (not zipped).


Analytic Questions

1. (10 marks)

(a) Calculate by hand the discrete Fourier transform of f = (1, 2, 3, 2).
(b) Calculate by hand the inverse discrete Fourier transform of F = (4, −1, 0, −1).

2. (15 marks)
Let {F0 , . . . , FN −1 } be the DFT of a sequence {f0 , . . . , fN −1 } defined by
−1
1 NX
Fk = fn W −nk
N n=0
2πi
with W = e N the N th root of unity. Show your work and simplify where possible.

(a) Give a formula for Fk for all k when fn = (−1)n for n = 0, ..., N − 1.

(b) Suppose (f0 , . . . , fN −1 ) = (−1, . . . , −1, 1, . . . , 1) having the first half negative one and
remaining half one (with N even). Show that F2k = 0, k = 0, 1, . . . , N2 −1.

3. ( 20 marks)
Consider the sequence of eight numbers f = ( 1, 0, 2, 0, −1, 0, −2, 0 ).

(a) What are the two arrays (g and h, each of length 4) that are used in computing the
DFT of f by the FFT method?

(b) Compute G and H, the two DFTs for {gi } and {hi }, respectively, using the definition
of DFT of 4 values. Simplify if possible.

(c) Using G and H from part b), write out the DFT of the array f .

(d) Using the FFT butterfly algorithm, compute by hand the DFT of f .

1

Written for

Institution
Study
Unknown
Course

Document information

Uploaded on
January 16, 2023
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$4.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Abbyy01 Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
96
Member since
4 year
Number of followers
33
Documents
1337
Last sold
1 week ago

3.5

13 reviews

5
5
4
2
3
3
2
1
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions