Extended (n,k)-gray code

We extend normal gray code to conside about different range for each digit.

Download
Download

You are now following this Submission

Cite As

Guangdi Li (2026). Extended (n,k)-gray code (https://in.mathworks.com/matlabcentral/fileexchange/23013-extended-n-k-gray-code), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

improve it by mex programming.

Download
1.2.0

this time I add a detailed example, thanks for you help.

Download
1.0.0

Download