- #1

Nemo's

- 69

- 0

## Homework Statement

I'm trying to calculate the Fourier Series for a periodic signal defined as:

y = x 0<x<2Π

y = 0 2Π≤x<3Π

## Homework Equations

Fn = 1/T ∫

_{T}f(t)cos(kwοt + θk)[/B]

cn/2 + ∑

_{k=1}

^{k=∞}(cn)cos(kwοt+θk)

cn= 2|Fn|

θk=∠Fn

## 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.

Last edited: