Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Truncated Fourier series analysis in Matlab

  1. Dec 7, 2008 #1
    a) Write a Matlab function, which accepts the following inputs

    -a finite set of Fourier series coefficients

    -the fundamental period T of the signal to be reconstructed

    -a vector t representing the times for which the signal will be reconstructed.

    This function should produce an output x[t][/n]( should be a vector x with length equal to the length of t containing values of xn at the times indicated by t.

    this is the code i have come up with so far.

    function fourier1=f(a,T,t)
    for n=1:length(a)
    Last edited: Dec 7, 2008
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: Truncated Fourier series analysis in Matlab
  1. Fourier series (Replies: 1)