blob: d5f6a75451c7d492645817136e34e9c59fd8777c (
plain)
1
2
3
4
5
6
7
8
|
//example 3.6
// this program needs kmap.sci and noof.sci
clc
Y=[7 9 10 11 12 13 14 15];//given logic equation
k=[0 0 0 0;0 0 1 0 ; 1 1 1 1; 0 1 1 1]; // minimizing it using 4-variable kmap
disp("The minimal expression of Y from the following Kmap is :');
kmap(k); //calling the Kmap function
|