DDA algorithm uses fast interpolation and rounding method to implement rasterization of lines, triangle and polygons. This technique has been used here to produce a straight line.
Cite As
Chandan Kumar (2026). Line drawing by DDA (https://www.mathworks.com/matlabcentral/fileexchange/25524-line-drawing-by-dda), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Find more on Contour Plots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
