Solving Fourier Sinusoids using DFT and ω = π/6 | Homework Statement

  • Thread starter Thread starter DmytriE
  • Start date Start date
  • Tags Tags
    Fourier Sinusoids
Click For Summary

Discussion Overview

The discussion revolves around expressing a time-domain vector as a sum of two Fourier sinusoids and determining the discrete Fourier transform (DFT) of the vector. Participants explore the implications of the fundamental frequency and the representation of the vector in terms of Fourier components.

Discussion Character

  • Homework-related
  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant states that the time-domain vector is given by 2cos(ωn) and initially proposes ω = π/6.
  • Another participant updates the value of ω to π/3, citing the fundamental period of the time vector as 6.
  • Several participants express confusion about how to express the vector as a sum of two Fourier sinusoids, with one noting that the original wave appears to be a pure sinusoid.
  • One participant provides a detailed expression involving multiple cosine terms and questions how to simplify it to meet the requirement of two sinusoids.
  • Another participant mentions using MATLAB to perform a Fourier transform and notes that it does not reproduce the time vector as expected.
  • Some participants discuss the symmetry of the time-domain vector and its implications for the DFT.
  • A participant suggests that the question may be asking for an approximation of the wave using just two sinusoids, indicating a need for a fundamental and an odd harmonic to account for certain features.
  • There is a proposal of using complex exponentials to represent the sum of two sinusoids, with some participants affirming the validity of this approach.

Areas of Agreement / Disagreement

Participants express differing views on the correct value of ω and the interpretation of how to express the time-domain vector as a sum of two Fourier sinusoids. The discussion remains unresolved regarding the specific method to achieve this representation.

Contextual Notes

Participants note potential confusion regarding the requirement to express the time-domain vector as two sinusoids, given that it appears to be a pure sinusoid. There are also indications of misunderstanding related to the Fourier series representation and the implications of symmetry in the context of the DFT.

DmytriE
Messages
78
Reaction score
0

Homework Statement


The entries of the time-domain vector:
x(1) = [2 1 -1 -2 -1 1 2 1 -1 -2 -1 1] ; N = 12

are given by 2cos(ωn) where n = 0:11. what is the value of ω? express x(1) as the sum of two Fourier sinusoids. By considering the appropriate columns of the Fourier matrix V, determine the DFT X(1).


Homework Equations


ω = (2π/N)


The Attempt at a Solution


I know that ω = π/6

But when determining the Fourier sinusoid I can only express it as the sum of 7 different parts.

1/6 + 1/6cos(pi*n/6) - 1/6cos(pi/3*n)...1/6(-1)^n.

But I says to express it as 2 Fourier sinusoids. I don't know how to simplify it or how to decide which columns would lead me to a solution.

When I fft the above equation (partial shown) It get x(1) back. So the equation is right but does not fully answer the question. Any help would be greatly appreciated!

DmytriE
 
Physics news on Phys.org
UPDATE:
ω = π/3 because the fundamental period of the time vector is 6.

What is meant by "express x(1) as the sum of two Fourier sinusoids."
 
DmytriE said:
UPDATE:
ω = π/3 because the fundamental period of the time vector is 6.

What is meant by "express x(1) as the sum of two Fourier sinusoids."

Correct on w = pi/3.

I don't understand why express x(1) as a sum of two sinusoids when the original wave is already a pure sinusoid ... 2cos(nπ/3), n = 0, 1,2, ...
 
Last edited:
rude man said:
2cos(nπ/3), n = 1,2, ...

Using Matlab I did fft of the function you gave above and it does not reproduce the time vector. I am looking for the sinusoidal equivalent I guess using only two sinusoidal functions to show this.
 
t = 1/6 + 1/6*cos(pi/6*n) - 1/6*cos(pi/3*n) - 1/3*cos(pi/2*n) - 1/6*cos(2*pi/3*n)+ 1/6*cos(5*pi/6*n) +(-1).^n/6

^This the the equation I get that will give me the full time vector. But as far as I can tell it is made up of more than 2 sinusoidal functions...
 
DmytriE said:
Using Matlab I did fft of the function you gave above and it does not reproduce the time vector. I am looking for the sinusoidal equivalent I guess using only two sinusoidal functions to show this.

I meant n = 0, 1, 2, ..

The Fourier series of cos(wt) is cos(wt)! So the Fourier series of 2cos(nπ/3) is 2cos(nπ/3), seems like.

I guess I'm missing something here.
 
DmytriE said:
But when determining the Fourier sinusoid I can only express it as the sum of 7 different parts.

1/6 + 1/6cos(pi*n/6) - 1/6cos(pi/3*n)...1/6(-1)^n.

But I says to express it as 2 Fourier sinusoids. I don't know how to simplify it or how to decide which columns would lead me to a solution.
I have done no Fourier work since I was a student, so don't take this too seriously...

EDIT [strike]Doesn't that 1/6 term indicate DC? There is no DC component here.[/strike] I hadn't read to the end of your series. http://physicsforums.bernhardtmediall.netdna-cdn.com/images/icons/icon11.gif

Perhaps you are being asked to approximate that stepwise wave using just 2 sinusoids? You'll need the fundamental, together with another to account for the step noise, and by the nature of the symmetry you can see it must be an odd harmonic.
 
Last edited by a moderator:
If you look at x, you can see that it is symmetric across number 2. Since the real value x is symmetric, then X must show conjugate circular symmetric. Remember that x will be symmetric at N/2. Therefore the elements n and N-n are the same distance from the center of symmetry. this can be expressed as x = e^(m) + e^(m-N). At least this is my understanding of this problem. You can refer to pages 176 through 180 of the following text if that helps.
 
polaris90 said:
You can refer to pages 176 through 180 of the following text if that helps.

Which text are you referring to?
 
  • #10
Yes, thank you Polaris. I will take a look at the text. Haha. I just realized which text you were talking about.
 
  • #12
Is this a sum of two Fourier Sinusoid?
n = 0:11;
e^(j * pi/3*n) + e^(-j*pi/3*n).

I hope so since I cannot seem to write two sinusoids that will produce the time domain vector.
 
  • #13
DmytriE said:
Is this a sum of two Fourier Sinusoid?
n = 0:11;
e^(j * pi/3*n) + e^(-j*pi/3*n).

I hope so since I cannot seem to write two sinusoids that will produce the time domain vector.

Looks good to me if by pi/3*n you mean nπ/3.

The whole question seems obtuse to me, frankly. A set of discrete numbers is not a sinusoid per se. A sinusoid can generate discrete numbers, to be sure, as in this case. But what is the point of the question, other than to present arcane math?
 
  • #14
rude man said:
Looks good to me if by pi/3*n you mean nπ/3.

Yup, that's exactly what I mean. :approve:
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
12K
  • · Replies 1 ·
Replies
1
Views
5K