Fourier Series Coefficients Ck
Afficher commentaires plus anciens
I am not at all skilled in Matlab and my teacher just expects us to know how to code. I am asking for a lot of help here. I have a problem with a graph of periodic repition and N=10 (N is the period) with length L=5. The amplitude of the graph is 1. So when 0<=n<L x(n) equals 1, otherwise it is 0. How would I calculate the fourier series coefficeints and plot the absolute value of Ck^2 (when k=0:N-1)?
PLEASE HELP I'M DESPERATE!
2 commentaires
Walter Roberson
le 8 Mar 2013
What is Ck in your notation ?
Matthew Benjamin
le 8 Mar 2013
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 8 Mar 2013
0 votes
Are you talking about a square wave with duty cycle 1/2 and amplitude 1? Or are you talking about a single square pulse? If you are talking about a single square pulse, it is a difference of step functions.
Are you going for analytic calculation or for numeric calculation?
2 commentaires
Matthew Benjamin
le 8 Mar 2013
Walter Roberson
le 8 Mar 2013
Your description is not compatible with it having 5 pulses. You wrote "when 0<=n<L x(n) equals 1, otherwise it is 0" which describes a single pulse over [0,L) with L=5
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!