summaryrefslogtreecommitdiff
path: root/758/CH6/EX6.27
diff options
context:
space:
mode:
Diffstat (limited to '758/CH6/EX6.27')
-rwxr-xr-x758/CH6/EX6.27/Ex_6_27.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/758/CH6/EX6.27/Ex_6_27.sce b/758/CH6/EX6.27/Ex_6_27.sce
new file mode 100755
index 000000000..b3ff94078
--- /dev/null
+++ b/758/CH6/EX6.27/Ex_6_27.sce
@@ -0,0 +1,9 @@
+//Example 6.27
+
+clc;clear;
+t=0:0.0025:0.0175;
+f=50;
+x=sin(2*%pi*f*t);
+X=clean(fft(x));
+disp(x,'x(n)=');
+disp(X,'X(k)='); \ No newline at end of file