summaryrefslogtreecommitdiff
path: root/2279/CH5/EX5.25/Ex5_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '2279/CH5/EX5.25/Ex5_25.sce')
-rw-r--r--2279/CH5/EX5.25/Ex5_25.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2279/CH5/EX5.25/Ex5_25.sce b/2279/CH5/EX5.25/Ex5_25.sce
new file mode 100644
index 000000000..350ed7339
--- /dev/null
+++ b/2279/CH5/EX5.25/Ex5_25.sce
@@ -0,0 +1,16 @@
+// Continuous Time Fourier Transforms of
+// Sinusoidal waveforms cos(Wot)
+clear;
+clc;
+close;
+// CTFT
+T1 = 2;
+T = 4*T1;
+Wo = 2*%pi/T;
+W = [-Wo,0,Wo];
+ak = (2*%pi*Wo*T1/%pi);
+XW =[ak,0,ak];
+plot(W,abs(XW),'.');
+xlabel(' W');
+xtitle('CTFT of cos(Wot)','W','X(jW)')
+