Can anybody explain the line part in code. What is the meaning of Corner1 (2) means?

2 ビュー (過去 30 日間)
passioncoding
passioncoding 2018 年 8 月 28 日
回答済み: KSSV 2018 年 8 月 28 日
line([corner1(2);corner2(2);corner3(2);corner4(2);corner1(2)],[corner1(1);corner2(1);corner3(1);corner4(1);corner1(1)],'color','blue','LineWidth',2);

採用された回答

KSSV
KSSV 2018 年 8 月 28 日
Read about function line
This is used to plot a line, it needs x and y coordinates. In your code, the coordinates are defined in corners...you are giving input to the line.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by