diff options
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
|