thank you Generate a sawtooth wave whose period is 4 phase i
thank you.
Generate a saw-tooth wave whose period is 4, phase is 0, and levels are 0 and 1. And find Fourier series coefficients of the saw-tooth wave and regenerate the wave by using a number of 10, 20, and 50 harmonics.Solution
T = 200*(1/50); Fs = 1000; dt = 1/Fs; t = 0:dt:T-dt; x = sawtooth(2*pi*50*t); plot(t,x) grid on