I am using matlab to study digital signalling and have come across a problem which i was wondering if anyone with more experience could help me with.
I need to work derive the Fourier series of a triangle wave that i have generated, I just do not know how to actually go about this problem in Matlab.
I am generating a 100hz Triangle signal using the following code:
t = 0:1/10000:1; f=100; x1 = sawtooth(2*pi*f*t, 0.5); plot(t,x1); axis([0 0.10 -1 1]);
Now how should i go about deriving the Fourier series of this signal, i am completely lost.
Any help would be appreciated.