1. The problem statement, all variables and given/known data I'm trying to calculate the Fourier Series for a periodic signal defined as: y = x 0<x<2Π y = 0 2Π≤x<3Π 2. Relevant equations Fn = 1/T ∫T f(t)cos(kwοt + θk) cn/2 + ∑k=1k=∞(cn)cos(kwοt+θk) cn= 2|Fn| θk=∠Fn 3. The attempt at a solution I got Cn = -(√3/ +9/4Π) θk = -kwοt The problem with this value for θk is that k disappears from the summation. I need this formula to be able to regenerate the original signal from it's fourier series coefficients using matlab. I must be doing something wrong. I would really appreciate it if someone told me what to do.