summaryrefslogtreecommitdiff
path: root/1592/CH5/EX5.3
diff options
context:
space:
mode:
Diffstat (limited to '1592/CH5/EX5.3')
-rwxr-xr-x1592/CH5/EX5.3/Example5_3.sce22
-rwxr-xr-x1592/CH5/EX5.3/Fig5_3_1.jpgbin0 -> 8902 bytes
-rwxr-xr-x1592/CH5/EX5.3/Fig5_3_2.jpgbin0 -> 5027 bytes
3 files changed, 22 insertions, 0 deletions
diff --git a/1592/CH5/EX5.3/Example5_3.sce b/1592/CH5/EX5.3/Example5_3.sce
new file mode 100755
index 000000000..b5b44b47c
--- /dev/null
+++ b/1592/CH5/EX5.3/Example5_3.sce
@@ -0,0 +1,22 @@
+//Scilab Code for Example 5.3 of Signals and systems by
+//P.Ramakrishna Rao
+clear;
+clc;
+//Inverse Fourier Transform
+w=-20:20;
+X=4*(cos(w))^2;
+a = gca();
+a.y_location ="origin";
+a.x_location ="origin";
+plot(w,X);
+title("X(e^jw)");
+xlabel("Frequency in Radians/sec");
+figure(1);
+n=-50:50;
+x=2*sinc(n)+sinc(n+2)+sinc(n-2);
+a = gca ();
+a.y_location ="origin";
+a.x_location ="origin";
+plot2d3(n,x);
+title("x(n)");
+xlabel("Time in sec");
diff --git a/1592/CH5/EX5.3/Fig5_3_1.jpg b/1592/CH5/EX5.3/Fig5_3_1.jpg
new file mode 100755
index 000000000..a0fd88465
--- /dev/null
+++ b/1592/CH5/EX5.3/Fig5_3_1.jpg
Binary files differ
diff --git a/1592/CH5/EX5.3/Fig5_3_2.jpg b/1592/CH5/EX5.3/Fig5_3_2.jpg
new file mode 100755
index 000000000..6e4c15763
--- /dev/null
+++ b/1592/CH5/EX5.3/Fig5_3_2.jpg
Binary files differ