4.0

4.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 1.51 KB File ID: #35743
image thumbnail

For producing Gray Code Optical Shaft Encoders

by Sean Danaher

 

20 Mar 2012

Will produce a figure of an n bit Gray Code shaft encoder and a gray code table

| Watch this File

File Information
Description

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

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File  
Everyone's Tags
control design, gray code, instrumentation, measurement
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
19 Jul 2012 Carl Witthoft

Nice tool. I recommend adding a line with the command "figure" to avoid accidentally overwriting the current graphics window.

Contact us