SN SLab 4 A1
SN SLab 4 A1
Find the trigonometric Fourier series for y(t) shown below i.e. find ao, an, and bn and
substitute these Fourier coefficients in the synthesis expression of y(t).
% Parameters
T = 2*pi;
% Compute a0
% Precompute an and bn
for n = 1:N
end
%% a) Plot the synthesized y(t) using 50 harmonics
for n = 1:N
end
figure;
figure;
for n = 1:N
xlabel('t'); ylabel('y(t)');
grid on;
end