From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 40/CH5/EX5.4/Exa_5_4.sce | 20 ++++++++++++++++++++ 40/CH5/EX5.4/Exa_5_4_0.jpg | Bin 0 -> 13965 bytes 40/CH5/EX5.4/Exa_5_4_1.jpg | Bin 0 -> 12864 bytes 3 files changed, 20 insertions(+) create mode 100755 40/CH5/EX5.4/Exa_5_4.sce create mode 100755 40/CH5/EX5.4/Exa_5_4_0.jpg create mode 100755 40/CH5/EX5.4/Exa_5_4_1.jpg (limited to '40/CH5/EX5.4') diff --git a/40/CH5/EX5.4/Exa_5_4.sce b/40/CH5/EX5.4/Exa_5_4.sce new file mode 100755 index 000000000..c04a7543a --- /dev/null +++ b/40/CH5/EX5.4/Exa_5_4.sce @@ -0,0 +1,20 @@ +//DTfT of periodic signals +x=[3 2 1 2];//one period of signal +n=0:3; +k=0:3; +x1=x*exp(%i*n'*2*k*%pi/4) +dtftx=abs(x1) +x=[3 2 1 2 3 2 1 2 3]; +n=-4:4; +a=gca(); +a.y_location="origin"; +a.x_location="origin"; +plot2d3('gnn',n,x); +xtitle('discrete periodic time signal'); +x2=[dtftx dtftx 8]; +a=gca(); +xset('window',1); +a.x_location="origin"; +a.y_location="origin"; +plot2d3('gnn',n,x2); +xtitle('DTFT of discrete periodic signal'); \ No newline at end of file diff --git a/40/CH5/EX5.4/Exa_5_4_0.jpg b/40/CH5/EX5.4/Exa_5_4_0.jpg new file mode 100755 index 000000000..efd03636f Binary files /dev/null and b/40/CH5/EX5.4/Exa_5_4_0.jpg differ diff --git a/40/CH5/EX5.4/Exa_5_4_1.jpg b/40/CH5/EX5.4/Exa_5_4_1.jpg new file mode 100755 index 000000000..f2557d814 Binary files /dev/null and b/40/CH5/EX5.4/Exa_5_4_1.jpg differ -- cgit