summaryrefslogtreecommitdiff
path: root/62/CH6/EX6.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /62/CH6/EX6.17
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '62/CH6/EX6.17')
-rwxr-xr-x62/CH6/EX6.17/ex_6_17.pngbin0 -> 12511 bytes
-rwxr-xr-x62/CH6/EX6.17/ex_6_17.sce23
2 files changed, 23 insertions, 0 deletions
diff --git a/62/CH6/EX6.17/ex_6_17.png b/62/CH6/EX6.17/ex_6_17.png
new file mode 100755
index 000000000..51e08a5e9
--- /dev/null
+++ b/62/CH6/EX6.17/ex_6_17.png
Binary files differ
diff --git a/62/CH6/EX6.17/ex_6_17.sce b/62/CH6/EX6.17/ex_6_17.sce
new file mode 100755
index 000000000..7e1dc069b
--- /dev/null
+++ b/62/CH6/EX6.17/ex_6_17.sce
@@ -0,0 +1,23 @@
+clear;
+close;
+clc;
+w=-5:0.01:5;
+W0=2;
+for i=1:length(w)
+ if w(i)==W0 then
+ delta(i)=2*%pi;
+ else
+ delta(i)=0;
+ end
+end
+figure
+subplot(2,1,1)
+plot(w,delta);
+title('2*%pi*delta(w-w0)')
+//by shifting property
+n=-10:10;
+x=%e^-%i*W0*n;
+subplot(2,1,2)
+plot2d3(n,abs(x))
+plot(n,abs(x),'r.')
+title('x[n]') \ No newline at end of file