4-Input Karnaugh Mapper
Version 1.0.0.0 (1.13 KB) by
Matthew
Takes a 16 element vector and turns it into a 4 x 4 k-map
Given a 16-element vector which corresponds to the output from a 4-input truth table the k_mapper function returns a 4x4 matrix where all the elements have been shifted to be in the correct order for a 4-input kmap.
I created this function to save time and paper on some homework problems. Is there a faster way to shift the 3&4 columns and rows than the way swapping with a temporary variable I have used? Any ideas for making this program more efficient would be appreciated.
Cite As
Matthew (2026). 4-Input Karnaugh Mapper (https://www.mathworks.com/matlabcentral/fileexchange/29336-4-input-karnaugh-mapper), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Numeric Types in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
