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 ExchangeFourier Analysis and Filtering についてさらに検索

質問済み:

2016 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by