summaryrefslogtreecommitdiff
path: root/692/CH2/EX2.46
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /692/CH2/EX2.46
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '692/CH2/EX2.46')
-rwxr-xr-x692/CH2/EX2.46/P2_46.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/692/CH2/EX2.46/P2_46.sce b/692/CH2/EX2.46/P2_46.sce
new file mode 100755
index 000000000..384771268
--- /dev/null
+++ b/692/CH2/EX2.46/P2_46.sce
@@ -0,0 +1,12 @@
+//EXAMPLE 2.46, Cross corelation Computation.
+// Given two finite length sequence.x[n],y[n]:
+clear;
+clc;
+x=[1 3 -2 1 2 -1 4 4 2];
+disp(x,'x');
+y=[2 -1 4 1 -2 3];
+disp(y,'y');
+//Cross corelation rxy[n]:
+
+rxy=convol(x,mtlb_fliplr(y));
+disp(rxy,'The Cross-Corelation Operation of the Inputs is =')