Generate gray code disk
Version 1.2.0.0 (1.72 KB) by
Daniel Pihlquist
Use various matlab functions and loops to create a gray code disk.
With three input parameters, radial resolution, circumferential resulution and the number of bits, this program generates an image of a gray code disk. This was thrown together pretty quickly, so I haven't had time to perfect the code further, so the number of bits is pretty much limited to 7. If you go higher, the resolution will be poor for the first bits.
Cite As
Daniel Pihlquist (2024). Generate gray code disk (https://www.mathworks.com/matlabcentral/fileexchange/40928-generate-gray-code-disk), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
Find more on Image Arithmetic in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.