Solving Fourier Cosine Series Homework w/ Matlab & Excel

Click For Summary
SUMMARY

The discussion focuses on solving Fourier Cosine Series homework using Matlab and Excel. Participants clarify that FFT analysis is unnecessary for this task, emphasizing a straightforward approach of plugging values into the given equation for f(t). Specifically, the coefficients a0 and a1 are derived from the summation format and relate directly to the function f(t) as outlined in equation (5.2). The consensus is to utilize Excel for calculations and plotting rather than complex analysis tools.

PREREQUISITES
  • Understanding of Fourier Cosine Series
  • Familiarity with Matlab for basic signal processing
  • Proficiency in Excel for data manipulation and plotting
  • Knowledge of trigonometric functions and their properties
NEXT STEPS
  • Learn how to implement Fourier series calculations in Excel
  • Study the relationship between Fourier coefficients and function representation
  • Explore the use of Matlab for signal processing without FFT analysis
  • Review the derivation of Fourier series terms from given equations
USEFUL FOR

Students in engineering or mathematics courses, educators teaching Fourier analysis, and anyone looking to apply Fourier Cosine Series in practical scenarios using Matlab and Excel.

Carter
Messages
11
Reaction score
0

Homework Statement


upload_2018-4-3_23-11-46.png


Homework Equations


All I know is the a's have something to do with the integrals.
upload_2018-4-3_23-13-22.png

The Attempt at a Solution


I used FFT analysis in Matlab but I do not know what I am looking for. How do the a0s relate to the f(t) in the question and how would I even do run that equation in an excell program. I just need to know where to start.
 

Attachments

  • upload_2018-4-3_23-11-46.png
    upload_2018-4-3_23-11-46.png
    10.8 KB · Views: 1,131
  • upload_2018-4-3_23-13-22.png
    upload_2018-4-3_23-13-22.png
    20.8 KB · Views: 1,078
Physics news on Phys.org
I don't think you need FFT analysis for this. Read the problem statement and do what it says using a spreadsheet. It's a simple plug and chug and plot question.
 
To find the a0, a1, etc. Compare the format of the given summation to the expansion of f(t) in equation (5.2)
 
scottdave said:
To find the a0, a1, etc. Compare the format of the given summation to the expansion of f(t) in equation (5.2)
so would a0 be .2 and a1=(2/pi)(-1)^1/1
 
kuruman said:
I don't think you need FFT analysis for this. Read the problem statement and do what it says using a spreadsheet. It's a simple plug and chug and plot question.
what am I pluging into, how do the a's relate to the f(t).
 
Carter said:
what am I pluging into, how do the a's relate to the f(t).
You are plugging into the equation ##f(t)=0.2+\frac{2}{\pi} \sum_{n=1}^\infty~...~etc## that is given to you. The posts by @scottdave and @Carter explain what the ##a_n## are, they are whatever multiplies each ##\cos(4n \pi t)## term in the summation.
 
Carter said:
so would a0 be .2 and a1=(2/pi)(-1)^1/1
If you multiply that by sine( 0.2(1)pi) then that will be a1
 
Last edited:

Similar threads

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