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