Lines as objects

This creates a "lineT" class that can plot line with given endpoints using DDA (Digital differential algorithm) and Bresenham's Algorithm.

You are now following this Submission

"lineT" is an class created using line endpoints. It can give the equation of a line in slope-intercept format and also plot the line using DDA (Digital differential algorithm) and Bresenham's Algorithm.

Cite As

Trupal Patel (2026). Lines as objects (https://se.mathworks.com/matlabcentral/fileexchange/75314-lines-as-objects), 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