4-Input Karnaugh Mapper
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 (2024). 4-Input Karnaugh Mapper (https://www.mathworks.com/matlabcentral/fileexchange/29336-4-input-karnaugh-mapper), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |