Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
any idea how can i compute this formula in matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how can i compute exponential complex Fourier series in Matlab?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171559/image.png)
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 Kommentare
Walter Roberson
am 26 Mär. 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.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!