clf; x = -3*pi:0.01:3*pi; %y = funcion_rectangular(x); y = funcion_rectangular_parametros(x,-5,0,5); plot(x,y,"r"); grid on; xlabel("X","fontsize",20); ylabel("Y","fontsize",20); title("Funcion Rectangular","fontsize",20);