Fourier series of square wave on Matlab?

Click For Summary

Discussion Overview

The discussion revolves around implementing the Fourier series of a square wave in MATLAB, focusing on a homework assignment. Participants express challenges in understanding the concepts and coding required for the task.

Discussion Character

  • Homework-related
  • Exploratory

Main Points Raised

  • Some participants express frustration over their lack of understanding and experience with the topic, stating they have just learned about Fourier series.
  • There are repeated requests for guidance on how to approach the problem in MATLAB, with participants indicating they have not found relevant resources or tutorials.
  • One participant mentions specific issues, including a tight deadline for the assignment and a lack of knowledge about coding in MATLAB.
  • Several links to external resources are shared, including MathWorks and Wikipedia, but participants question how these resources apply to their specific homework requirements.
  • A participant asks about the implications of using a finite number of terms (n=1 to 10) in their homework, indicating uncertainty about how this affects their approach.

Areas of Agreement / Disagreement

Participants generally agree on the challenges they face with the assignment and the need for assistance. However, there is no consensus on how to effectively approach the problem or the specific coding techniques required.

Contextual Notes

Participants express limitations in their understanding of the Fourier series and MATLAB, and there are unresolved questions about how to implement the series with a finite number of terms.

John Daff
Messages
5
Reaction score
0

Homework Statement


How Can i do this on matlap
the question in Attached files

Homework Equations


NumberedEquation1.gif


The Attempt at a Solution


i try a lot but i failed
 

Attachments

  • 12360131_10153463689951219_5723816775098804842_n.jpg
    12360131_10153463689951219_5723816775098804842_n.jpg
    69.3 KB · Views: 566
  • 12360131_10153463689951219_5723816775098804842_n.jpg
    12360131_10153463689951219_5723816775098804842_n.jpg
    69.3 KB · Views: 545
Physics news on Phys.org
John Daff said:

Homework Statement


How Can i do this on matlap
the question in Attached files

Homework Equations


NumberedEquation1.gif


The Attempt at a Solution


i try a lot but i failed
Welcome to the PF.

Can you post what you have tried? :smile:
 
berkeman said:
Welcome to the PF.

Can you post what you have tried? :smile:
you don't believe me :D?
i try to draw this square wave function (-k W k ) on a paper
it is the same but +ve & -ve
but i have 3 problems:frown::frown:
1- i learned this just todaaay
2- the doc Need this homework tomorrow i don't know how i am not a superman
3- i don't know the code or how i draw it in MATLAB as Fourier expansion :cry:
 
John Daff said:
you don't believe me :D?
i try to draw this square wave function (-k W k ) on a paper
it is the same but +ve & -ve
but i have 3 problems:frown::frown:
1- i learned this just todaaay
2- the doc Need this homework tomorrow i don't know how i am not a superman
3- i don't know the code or how i draw it in MATLAB as Fourier expansion :cry:
What have you found with your Google searching about using MATLAB to do this? What have you found at the mathworks website? Do they have any tutorials that are similar to this problem?
 
berkeman said:
What have you found with your Google searching about using MATLAB to do this? What have you found at the mathworks website? Do they have any tutorials that are similar to this problem?
i didn't found the same also this is my first time in this lesson i don't know where i search
the real problem that the Doc learned us today and want to this homework tomorrow
the time goo fast:nb)
 
John Daff said:
i didn't found the same also this is my first time in this lesson i don't know where i search
the real problem that the Doc learned us today and want to this homework tomorrow
the time goo fast:nb)
Sorry, by the PF rules, we are not allowed to help you until you show some effort.
 
berkeman said:
Sorry, by the PF rules, we are not allowed to help you until you show some effort.
ok please tell me where i search
i am ready to stay wake all the night it is very important assignment
 

Similar threads

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