//Graphical// //Implementation of Equation 2.1.6 in Chapter 2 //Digital Signal Processing by Proakis, Third Edition, PHI //Page 45 clear; clc; close; L = 4; //Upperlimit n = -L:L; x = [zeros(1,L),1,zeros(1,L)]; a=gca(); a.thickness = 2; a.y_location = "middle"; plot2d3('gnn',n,x) xtitle('Graphical Representation of Unit Sample Sequence','n','x[n]');