summaryrefslogtreecommitdiff
path: root/2606/CH11/EX11.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2606/CH11/EX11.8
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 '2606/CH11/EX11.8')
-rwxr-xr-x2606/CH11/EX11.8/ex11_8.jpgbin0 -> 6608 bytes
-rwxr-xr-x2606/CH11/EX11.8/ex11_8.sce22
2 files changed, 22 insertions, 0 deletions
diff --git a/2606/CH11/EX11.8/ex11_8.jpg b/2606/CH11/EX11.8/ex11_8.jpg
new file mode 100755
index 000000000..87d4dd50c
--- /dev/null
+++ b/2606/CH11/EX11.8/ex11_8.jpg
Binary files differ
diff --git a/2606/CH11/EX11.8/ex11_8.sce b/2606/CH11/EX11.8/ex11_8.sce
new file mode 100755
index 000000000..434b51a5b
--- /dev/null
+++ b/2606/CH11/EX11.8/ex11_8.sce
@@ -0,0 +1,22 @@
+//Page Number: 11.16
+//Example 11.8
+clc;
+//(a) Channel Matrix
+//Given
+PYbyX=[0.9 0.1;0.2 0.8];
+PZbyY=[0.9 0.1;0.2 0.8];
+
+//As P(Z/X)=P(Y/X)*P(Z/Y)
+PZbyX=PYbyX*PZbyY;
+disp(PZbyX,'Channel Matrix');
+
+//(b)Pz1 and Pz2
+//Given
+Px1=0.5;
+Px2=Px1;
+//As P(Z)=P(X)*P(Z/X)
+
+//P(X) matrix
+PX=[Px1 Px2];
+PZ=PX*PZbyX;
+disp(PZ,'P(z1) P(z2):');