image thumbnail

Counting Teeth

version (143 KB) by Ned Gulley
Use some image processing algorithms to count the number of teeth on a gear.


Updated 01 Sep 2016

View License

This file demonstrates how the Cell Execution Mode is useful in creating and publishing MATLAB script M-files. Starting with a picture of a clock gear, we work step by step to determine how many teeth are on the gear. See the related News and Notes article for more information.

Cite As

Ned Gulley (2022). Counting Teeth (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
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!