For producing Gray Code Optical Shaft Encoders

Will produce a figure of an n bit Gray Code shaft encoder and a gray code table
371 Downloads
Updated 20 Mar 2012

View License

Straightforward program. Gray code is produced by recursion and the disk is drawn using patch objects

Cite As

Sean Danaher (2026). For producing Gray Code Optical Shaft Encoders (https://www.mathworks.com/matlabcentral/fileexchange/35743-for-producing-gray-code-optical-shaft-encoders), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0