MATLAB DDA (Digital Differential Analyzer) algorithm implementation

バージョン 1.0.0.0 (966 Bytes) 作成者: Benas S
MATLAB DDA (Digital Differential Analyzer) algorithm implementation
ダウンロード: 238
更新 2017/3/28

ライセンスの表示

This algorithm takes coordinates of two points and links them using DDA algorithm.
Won't draw anything if x1, y1 and x2, y2 line coordinates are equal (is a point).

On the internet I found some DDA algortihms, that were not working propely,
taken some ideas from Akshay Upadhyay (http://www.cprogramto.com/c-program-for-dda-algorithm/)
and Chandan Kumar (https://se.mathworks.com/matlabcentral/fileexchange/25524-line-drawing-by-dda/content/DDA_Line.m)
and implemented my own DDA algorithm version. Feel free to modify it.

I set fixed axis, so take that into consideration.
Lines x range can change from -5 to 5 and y range can change from -5 to 5 too

引用

Benas S (2026). MATLAB DDA (Digital Differential Analyzer) algorithm implementation (https://jp.mathworks.com/matlabcentral/fileexchange/62308-matlab-dda-digital-differential-analyzer-algorithm-implementation), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDescriptive Statistics についてさらに検索
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.0.0