close all;
clear all;

x_points = [-2:0.005:2];
y_points = zeros(1,length(x_points));

idx = find(x_points>-3/4 & x_points<2/4);
y_points(idx) = 4/5;
figure;
plot(x_points,y_points,'LineWidth',2);
ylabel('p(n)');
xlabel('n');
ylim([0 1]);
xlim([x_points(1) x_points(end)]);