For producing Gray Code Optical Shaft Encoders

Will produce a figure of an n bit Gray Code shaft encoder and a gray code table
370 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 (2024). 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

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