summaryrefslogtreecommitdiff
path: root/758/CH6/EX6.26
diff options
context:
space:
mode:
Diffstat (limited to '758/CH6/EX6.26')
-rwxr-xr-x758/CH6/EX6.26/Ex_6_26.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/758/CH6/EX6.26/Ex_6_26.sce b/758/CH6/EX6.26/Ex_6_26.sce
new file mode 100755
index 000000000..0173d8879
--- /dev/null
+++ b/758/CH6/EX6.26/Ex_6_26.sce
@@ -0,0 +1,7 @@
+//Example 6.26
+
+clc;clear;
+X=[36 -4+9.656*%i -4+4*%i -4+1.656*%i -4 -4-1.656*%i -4-4*%i -4-9.656*%i ];
+x=round(clean(ifft(X)));
+disp(X,'X(k)=');
+disp(x,'x(n)=');