clc; %x = -10:0.01:10; x = linspace(-10,10,500); y = funcion_rectangular_parametros(x,-pi,0,pi,3); plot(x,y,"r","linewidth",4); grid on; xlabel("X","fontsize",20); ylabel("Y","fontsize",20); title("Funcion Rectangular","fontsize",20); text(-pi,-2.8,'-\pi',"fontsize",16); text(pi,-2.8,'\pi',"fontsize",16);