From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1241/CH6/EX6.8/exa6_8.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1241/CH6/EX6.8/exa6_8.sce (limited to '1241/CH6/EX6.8') 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// -- cgit