any idea how can i compute this formula in matlab?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
how can i compute exponential complex Fourier series in Matlab?

where
T = 2.25;
f0 = 1/T;
n = (-5:5).';
t = linspace(-2.75, T,samples+1);
t = t(1:end-1);
s((-2.75) <= t & t < (-0.25)) = 1;
s((-0.25) <= t & t < (2.25)) = -1;
n = 5;
c0 = (1/T) * sum(s);
cn = (1/T) * s * exp(-1j*2*pi*f0*n*t).';
thanks
7 Comments
John D'Errico
on 26 Mar 2018
Why do you think that what you did was incorrect? Why do you think there is a problem in that?
ocsse
on 26 Mar 2018
Jan
on 26 Mar 2018
@ocsse: Are you going to stop deleting the contents of your questions after answers have been given? Note, that the nature of this forum is to share solutions in public. Therefore it is disliked, if the questions are removed after someone took the time to provide an answer.
@ocsse: Thanks for the explanation. I'm glad, that your tutors understand, that the forum will have a positive effect for learning Matlab. Now let me be your tutor in the forum and tell you, that removing the contents of question reduces the chance, that experiences members of the forum care about your questions. Therefore I asked and did not really get the answer yet.
Walter Roberson
on 26 Mar 2018
ocsse: we do not do private consulting in this resource. If you need to post something that other people in your course should not see, then you should be hiring a private consultant. We only work in public here.
ocsse
on 26 Mar 2018
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!