Fourier Series Approximation Matlab HW1:
You are given a finite step function
x(t)=-1, 0<t<4
1, 4<t<8
.
Hand calculate the FS coefficients of x(t) by assuming
half- range expansion, for each case below and modify the
code.
Approximate x(t) by cosine series only (This is
even-half range expansion). Modify the below code and plot the
approximation showing its steps changing by included number of FS
terms in the approximation.
Approximate x(t) by sine series only (This...
Find the Fourier Series for the function defined over -5 < x
< 5
f(x) = -2 when -5<x<0 and f(x) = 3 when 0<x<5
You can use either the real or complex form but must show
work.
Plot on Desmos the first 10 terms of the series along with the
original
function.
I know if f(x) is even the fourier series expansion will
consists of consnx, for like f(x)=x^2sinx, or f(x)=2/(3+cosx). but
if the f(x) is neither even or odd, would fourier expansion have
both cosnx and sinnx? This is PDE.