Line drawing by DDA

Draws a line using DDA.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0