summaryrefslogtreecommitdiff
path: root/1592/CH10/EX10.4
diff options
context:
space:
mode:
Diffstat (limited to '1592/CH10/EX10.4')
-rwxr-xr-x1592/CH10/EX10.4/Fig10_4.jpgbin0 -> 5004 bytes
-rwxr-xr-x1592/CH10/EX10.4/example_10_4.sce14
2 files changed, 14 insertions, 0 deletions
diff --git a/1592/CH10/EX10.4/Fig10_4.jpg b/1592/CH10/EX10.4/Fig10_4.jpg
new file mode 100755
index 000000000..ffab1c24e
--- /dev/null
+++ b/1592/CH10/EX10.4/Fig10_4.jpg
Binary files differ
diff --git a/1592/CH10/EX10.4/example_10_4.sce b/1592/CH10/EX10.4/example_10_4.sce
new file mode 100755
index 000000000..1d3020318
--- /dev/null
+++ b/1592/CH10/EX10.4/example_10_4.sce
@@ -0,0 +1,14 @@
+//Scilab Code for Example 10.4 of Signals and systems by
+//P.Ramakrishna Rao
+//Auto Correlation
+clear;
+clc;
+x=[-1,1,-1];
+//computation of auto correlation sequence;
+r = xcorr(x);
+n=-2:2;
+a=gca();
+a.x_location="origin";
+a.y_location="origin";
+plot2d3(n,r,-9);
+title('rxx_auto-correlation');