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
528 Downloads
Updated 9 Nov 2010

View License

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
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numeric Types in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0