Gray Code

Basic function that generates Gray code for arbitrary base and number of digits
18 Downloads
Updated Sun, 10 Jul 2022 02:51:16 +0000

View License

Basic function that generates Gray code for arbitrary base and number of digits.
use:
code = grayCode(base,digits);
to obtain the corresponding gray code table

Cite As

Mazin Mustafa (2024). Gray Code (https://www.mathworks.com/matlabcentral/fileexchange/114850-gray-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

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.1

Correction

1.0.0