How do I graph this plane with three points?

2 ビュー (過去 30 日間)
Anna
Anna 2014 年 12 月 15 日
コメント済み: Anna 2014 年 12 月 16 日
How do I graph the plane that contains the points P1=(1,2,3), P2=(1,2,1) and P3=(2,1,0) while taking p=(p1+p2+p3)/3?
  2 件のコメント
Amit
Amit 2014 年 12 月 15 日
what you mean by 'while taking p=(p1+p2+p3)/3?'? The plane can be defined by 3 points. Am I missing something?
Anna
Anna 2014 年 12 月 16 日
well the question basically asks to graph and then it adds take initial p to be equal to (p1+p2+p3)/3

サインインしてコメントする。

回答 (1 件)

Youssef  Khmou
Youssef Khmou 2014 年 12 月 15 日
you can use geometric construction with meshgrid function or use patch function as follows :
patch([1 1 2],[2 2 1],[3 1 0],0.5), view(30,20)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by