diff options
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
|