diff options
Diffstat (limited to '52/CH3/EX3.23.d/Example3_23_d.sce')
-rwxr-xr-x | 52/CH3/EX3.23.d/Example3_23_d.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/52/CH3/EX3.23.d/Example3_23_d.sce b/52/CH3/EX3.23.d/Example3_23_d.sce new file mode 100755 index 000000000..bc6373214 --- /dev/null +++ b/52/CH3/EX3.23.d/Example3_23_d.sce @@ -0,0 +1,8 @@ +//Example 3.23 (d)
+//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
+//N point DFT of x(n)=1, 0<=n<=N/2-1
+clc;
+syms n k N;
+x=1;
+X=symsum(x*exp(-%i*2*%pi*n*k/N),n,0,(N/2)-1);
+disp(X,'X(k)=');
\ No newline at end of file |