Fourier series of square wave on Matlab?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 3K views
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: 578
  • 12360131_10153463689951219_5723816775098804842_n.jpg
    12360131_10153463689951219_5723816775098804842_n.jpg
    69.3 KB · Views: 553
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