You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This code implements Bresenham Line Algorithm with slight modification of error term in respect of computation efficiency that it does not require any division process. Hence it is more efficient. Also it has been generalized to draw lines of any slope. Point input order is thus insignificant. I hope this code would be helpful.
Cite As
Chandan Kumar (2026). Line Drawing by Bresenham Algorithm (https://au.mathworks.com/matlabcentral/fileexchange/25544-line-drawing-by-bresenham-algorithm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.92 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
