56 views
previous video • Signals and Systems: Fourier Series ... Matlab / Octave code for the syms t real transform x=t*(heaviside(t+1)-heaviside(t-1)) ezplot(x,[-2 2]) y=diff(x) y=simplify(y) ezplot(y,[-2 2]) Y=fourier(y) Y=simplify(Y) X=fourier(x) X=simplify(X) pretty(X)