image thumbnail

Bresenham's Line

version (1015 Bytes) by Narupon Chattrapiban
Generate a line profile of a 2d image


Updated 08 Nov 2006

No License

Generate a line profile of a 2d image
using Bresenham's algorithm.

For a demo purpose, try


Cite As

Narupon Chattrapiban (2022). Bresenham's Line (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: 2D Local Grid Map, TACTICS Toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!