diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1592/CH10/EX10.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1592/CH10/EX10.8')
-rwxr-xr-x | 1592/CH10/EX10.8/Fig10_8.jpg | bin | 0 -> 5433 bytes | |||
-rwxr-xr-x | 1592/CH10/EX10.8/example_10_8.sce | 21 |
2 files changed, 21 insertions, 0 deletions
diff --git a/1592/CH10/EX10.8/Fig10_8.jpg b/1592/CH10/EX10.8/Fig10_8.jpg Binary files differnew file mode 100755 index 000000000..21696e983 --- /dev/null +++ b/1592/CH10/EX10.8/Fig10_8.jpg diff --git a/1592/CH10/EX10.8/example_10_8.sce b/1592/CH10/EX10.8/example_10_8.sce new file mode 100755 index 000000000..e5f1e553c --- /dev/null +++ b/1592/CH10/EX10.8/example_10_8.sce @@ -0,0 +1,21 @@ +//Scilab Code for Example 10.8 of Signals and systems by
+//P.Ramakrishna Rao
+//Auto Correlation
+clear;
+clc;
+clear x n a;
+k=1;
+a=0.8;
+for n=-30:30;
+ x(k)=a^(n)*u(n);
+ k=k+1;
+end
+length(x)
+//computation of auto correlation sequence;
+r = xcorr(x);
+n=-60:60;
+a=gca();
+a.x_location="origin";
+a.y_location="origin";
+plot2d3(n,r,-4);
+title('rxx_auto-correlation');
|