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 /45/CH3/EX3.12/example_3_12.sce | |
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 '45/CH3/EX3.12/example_3_12.sce')
-rwxr-xr-x | 45/CH3/EX3.12/example_3_12.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/45/CH3/EX3.12/example_3_12.sce b/45/CH3/EX3.12/example_3_12.sce new file mode 100755 index 000000000..db573a883 --- /dev/null +++ b/45/CH3/EX3.12/example_3_12.sce @@ -0,0 +1,13 @@ +//example 3.12
+clc
+disp('The given kmap is '); //displaying the given kmap
+disp(' C''D'' C''D CD CD''');
+disp('A''B'' 0 0 1 0');
+disp('A''B 0 0 1 1');
+disp('AB x x x 1');
+disp('AB'' x x x 0');
+disp('In a Karnaugh map if don''t care condition exits, we may consider them as zeros if that gives a larger group size.');
+disp("The simplest POS form of following Kmap is :');
+
+k= [0 0 1 0;0 0 1 1 ;0 0 1 1; 0 0 1 0];
+kmappos(k); //calling the Kmappos function
|