blob: 081bb15332836fc8cde86a6082919f8dcee39e38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Graphical//
//Implementation of Equation 2.1.24 in Chapter 2
//Digital Signal Processing by Proakis, Third Edition, PHI
//Page 51
clear; clc; close;
n = -7:7;
x1 = [0 0 0 1 2 3 4];
x = [x1,5,x1(length(x1):-1:1)];
a=gca();
a.thickness = 2;
a.y_location = "middle";
plot2d3('gnn',n,x)
xtitle('Graphical Representation of Even Signal','n','x[n]');
|