t = -2*pi:0.01:2*pi; nterm = 1000; %f = serie_rectangular (t, nterm); f = seire_triangular (t, nterm); plot(t,f,"r","linewidth",2); grid on; xlabel("W","fontsize",16); ylabel("Amplitud","fontsize",16); title("Serie de Fourier de Seņal Rectangular","fontsize",20);