summaryrefslogtreecommitdiff
path: root/1241/CH6/EX6.8/exa6_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1241/CH6/EX6.8/exa6_8.sce
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 '1241/CH6/EX6.8/exa6_8.sce')
-rwxr-xr-x1241/CH6/EX6.8/exa6_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1241/CH6/EX6.8/exa6_8.sce b/1241/CH6/EX6.8/exa6_8.sce
new file mode 100755
index 000000000..5bacf755c
--- /dev/null
+++ b/1241/CH6/EX6.8/exa6_8.sce
@@ -0,0 +1,16 @@
+//Example 6-8//
+//Mapping an equation//
+clc
+//clears the console//
+clear
+//clears all existing variables//
+//Mapping the expression//
+disp('Z=m(9,20,21,29,30,31)')
+disp(' A'' A ')
+disp(' D''E'' D''E DE DE'' D''E'' D''E DE DE''')
+disp('B''C'' 0 0 0 0 0 0 0 0 ')
+disp('BC'' 0 0 0 0 1 1 0 0 ')
+disp('BC 0 0 0 0 0 1 1 1 ')
+disp('BC'' 0 1 0 0 0 0 0 0 ')
+disp(' From the map, high outputs for 9,20,21,29,30,31')
+//Therefore the kmap is displayed//