Using Fourier analysis to find frequency-amplitude spectrum?

Click For Summary

Homework Help Overview

The discussion revolves around using Fourier analysis to determine the frequency-amplitude spectrum of a voltage supply signal. Participants explore the mathematical and programming aspects of creating a magnitude spectrum graph, particularly for a square wave.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the mathematical steps involved in finding a Fourier transformation and the potential use of programming languages to assist in this process. Questions arise about the nature of the problem, whether it is primarily mathematical, computational, or physical.

Discussion Status

Some participants provide formulas for calculating Fourier coefficients and express a desire to understand the underlying mathematics. Others share their experiences with specific formulas and plotting techniques, indicating a progression in their exploration of the topic.

Contextual Notes

There is a mention of the periodicity of the signal, which is a key assumption in Fourier analysis. Additionally, some participants express uncertainty about specific terms and concepts, indicating areas where clarification may be needed.

jamdr
Messages
13
Reaction score
0
The signal is from a voltage supply. I see lots of pages on the internet about this, such as this one, which shows what the magnitude spectrum looks like for a square wave with an arbitrary number of co-efficients. But how would I actually create that graph myself?
 
Physics news on Phys.org
jamdr said:
The signal is from a voltage supply. I see lots of pages on the internet about this, such as this one, which shows what the magnitude spectrum looks like for a square wave with an arbitrary number of co-efficients. But how would I actually create that graph myself?

Is this a question of COMPUTER PROGRAMMING,MATHS or PHYSICS??

Think deep...To me it looks like pogramming...What programming languages do u know?

Daniel.
 
It's a math question I suppose. I need to know the steps to find a Fourier transformation. I know that MATLAB and other computer programs can solve this type of problem, but I want to understand the math behind it.
 
the Fourier coefficitents are calculated using the formulas

[tex]F(x) = \sum^{\infty} _{0} A_{n}\cos\left(\frac{n\pi x}{a} \right ) + B_{n}\sin\left (\frac{n\pi x}{a}\right )[/tex]

where

[tex]A_{n} =\frac{1}{a} \int _{-a} ^{a} F(x)\cos\left (\frac{n\pi x}{a}\right ) dx[/tex]

and

[tex]B_{n} =\frac{1}{a} \int _{-a} ^{a} F(x)\sin\left (\frac{n\pi x}{a} \right ) dx[/tex]

from here plug in the periodic function and do the integrals...
 
Dr Transport said:
the Fourier coefficitents are calculated using the formulas

[tex]F(x) = \sum^{\infty} _{0} A_{n}\cos\left(\frac{n\pi x}{a} \right ) + B_{n}\sin\left (\frac{n\pi x}{a}\right )[/tex]

where

[tex]A_{n} =\frac{1}{a} \int _{-a} ^{a} F(x)\cos\left (\frac{n\pi x}{a}\right ) dx[/tex]

and

[tex]B_{n} =\frac{1}{a} \int _{-a} ^{a} F(x)\sin\left (\frac{n\pi x}{a} \right ) dx[/tex]

from here plug in the periodic function and do the integrals...

Wait, what is a?
 
Thanks for the help Dr. Transport. But in the end I ended up using this formula:

[tex]f_n=\frac{1}{T}\int_0^T v(t) e^{-j n \omega t} dt[/tex]

where n is some arbitrary number of coefficients. Also, n is the index of f (an array). Then I plotted [tex]\overrightarrow{\left|f\right|}_n[/tex] versus [tex]\frac{n}{T}[/tex]

I don't fully understand this, but it seemed to work.
 
Last edited:
the last equation stated is complex Fourier series while the earlier stated equation is trigonometry Fourier series. I'm done.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
16K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
18
Views
4K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K