Fourier Series of a Input Signal / Single Point?

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!