Info

This question is closed. Reopen it to edit or answer.

Plotting The Spectrum for Fourier Series Coefficients

1 view (last 30 days)
%% Problem 1
display('Problem 1')
syms n t
Wo = pi;
T = 2;
n = 1:10;
a0=(1/T)*(int(t,t,0,1))
an= (2/T)*(int(t*cos(n*Wo*t),0,1))
bn=(2/T)*(int(t*sin(n*Wo*t),0,1))
  1 Comment
KALYAN ACHARJYA
KALYAN ACHARJYA on 1 Oct 2020
https://www.mathworks.com/matlabcentral/answers/602197-fourier-series-for-a-periodic-function?s_tid=prof_contriblnk

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!