diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /62/CH6/EX6.3 | |
download | Scilab-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.3')
-rwxr-xr-x | 62/CH6/EX6.3/ex_6_3.png | bin | 0 -> 8406 bytes | |||
-rwxr-xr-x | 62/CH6/EX6.3/ex_6_3.sce | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/62/CH6/EX6.3/ex_6_3.png b/62/CH6/EX6.3/ex_6_3.png Binary files differnew file mode 100755 index 000000000..ebbd81e08 --- /dev/null +++ b/62/CH6/EX6.3/ex_6_3.png diff --git a/62/CH6/EX6.3/ex_6_3.sce b/62/CH6/EX6.3/ex_6_3.sce new file mode 100755 index 000000000..878b45026 --- /dev/null +++ b/62/CH6/EX6.3/ex_6_3.sce @@ -0,0 +1,20 @@ +clear;
+close;
+clc;
+w0=2*%pi/4;//%pi/2
+N0=4;
+n=-8:7;
+y=0:3;
+x=[];
+for i=1:length(n)/4
+ x=[x y];
+end
+plot2d3(n,x');
+plot(n,x','r.')
+xtitle('x[n]','n')
+for k=0:3
+ c(k+1)=0;
+ for n=0:3
+ c(k+1)=c(k+1)+ (1/4)*(y(n+1))*(-%i)^(k*n);
+ end
+end
|