how to draw a line with two points x and y at a given angle???

4 ビュー (過去 30 日間)
alex
alex 2016 年 9 月 23 日
回答済み: Abhishek Jain 2016 年 9 月 23 日
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

回答 (1 件)

Abhishek Jain
Abhishek Jain 2016 年 9 月 23 日
That is pretty simple.
x=[x1 x2];
y=[y1 y2];
plot(x,y)

カテゴリ

Help Center および File Exchange3-D Scene Control についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by