Fourier series of Sawtooth wave

[code matlab]% xN(t)=sum(ak*exp(j*2*pi*k*t)), k=-N:Nclear claN=[1,5,10,20];              % test value listt=[-1:0.001:1];             % time rangexn=zeros(size(N,2),size(t,2));  % initialize valuefor i=1:size(t,2)...