summaryrefslogtreecommitdiff
path: root/45/CH3/EX3.11/example_3_11.sce
blob: f59fa1cd8044befa3677a4d70ff568068ccff6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//example 3.11 
// this program needs kmappos.sci and noof.sci

clc
disp('The given kmap is '); //displaying the given kmap
disp('      C''D''  C''D  CD  CD''');
disp('A''B''    0    0    0   0');
disp('A''B     0    0    0   1');
disp('AB      1    1    1   1');
disp('AB''     1    1    1   1');
disp("The simplest POS form of following Kmap is :');

k= [0 0 0 0;0 0 0 1 ;1 1 1 1; 1 1 1 1];
kmappos(k);//calling the Kmappos function