Fourier Series of a Input Signal / Single Point?

im trying to build a input signal using fourier series.
this is my code
tttf=sum(ttspect.*exp(1i.*ttfreqs.*tttime));
plot(tttime,tttf)
where ttspect(1x1001 complex doble) is ck terms , ttfreqs (1x1001) are equal to k*wo and tttime (1x1001)is equal to t.
FourierSeries=sum(ck*e^(i*k*wo*t))
when i define tttf it appears to become a single point in the instead of the series.how can i make this plot?
what im doing wrong?
any help will be appreciated
thank you

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2016년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by