gray2bi

The function converts a Gray encoded sequence to the binary sequence.
3.7K Downloads
Updated 29 May 2002

No License

This function converts the Gray encoded binary sequence to its binary equivalent.

Example:

gray2bi( [ 1 0 0 ] )

will produce

1 1 1

sequence as an output.See also: bi2gray.

Cite As

Adrian Bohdanowicz (2026). gray2bi (https://uk.mathworks.com/matlabcentral/fileexchange/1746-gray2bi), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graph and Network Algorithms in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0