Fourier Analysis: Calculating 2nd Harmonic

Click For Summary
SUMMARY

The discussion focuses on calculating the 2nd harmonic of a composite wave function using Fourier analysis, specifically with MATLAB. The user has defined three functions: f1 as a sine wave, f2 as a linear function, and f3 as a constant zero function. The user successfully computed A0 and is now attempting to derive A2 for the 2nd harmonic using specific equations for different time intervals. The equations provided for A2 involve integrating the product of the defined functions and cosine terms over specified ranges.

PREREQUISITES
  • Understanding of Fourier series and harmonic analysis
  • Proficiency in MATLAB for numerical computations
  • Knowledge of trigonometric functions and their properties
  • Familiarity with piecewise functions and integration techniques
NEXT STEPS
  • Review MATLAB's Fourier Transform functions for harmonic analysis
  • Study the integration of piecewise functions in the context of Fourier series
  • Explore the concept of harmonics and their significance in wave analysis
  • Learn about the implications of wave periodicity on harmonic calculations
USEFUL FOR

Students and professionals in engineering, physics, or applied mathematics who are working on Fourier analysis and wave function analysis, particularly those using MATLAB for computational verification.

gaz1984
Messages
1
Reaction score
0
All, I'm having some problems with a Fourier analysis I am doing as a coursework, we have been given waves with multiple functions to try and work out the harmonics of them.
My three functions are:
f1 = -5sin (2*pi*t) - sin wave part
f2 = 21.74t-32.61 - straight line part
f3 = 0 - horizontal straight line part

I have worked out A0 using MATLAB and then manually to check the answer.

My problem is that I need to pick a certain harmonic to work out manually to check the MATLAB answer with, i picked the 2nd harmonic.

To work out A2 i get the equations:

1/pi (-5sin(2*pi*t)cos(4*pi*t)) when 0.73 < t < 1.27
1/pi (21.74t*cos(4*pi*t)-32.61cos(4*pi*t)) when 1.27 < t < 1.5

Can anyone help with what I am supposed to do next?
Thanks
 
Physics news on Phys.org
Is your total wave f1*f2*f3? If so, do f2 and f3 repeat every period (= 1.0s)?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
17
Views
6K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K