How to create a vector from two or three point?

21 ビュー (過去 30 日間)
AnhThu Le
AnhThu Le 2017 年 9 月 9 日
コメント済み: Jose Marques 2017 年 9 月 9 日
a) A(1,2) B(6,3) C (1,5) b)A(5,9,8) B(7,5,4) C(5,7,8) How to create vector AB and AC ?

採用された回答

Jose Marques
Jose Marques 2017 年 9 月 9 日
A = [1,2]
B = [6,3]
C = [1,5]
AB = B - A
AC = C - A
The same with three points
  3 件のコメント
Jose Marques
Jose Marques 2017 年 9 月 9 日
Jose Marques
Jose Marques 2017 年 9 月 9 日
function [vector] = calculate_vector(A,B)
vector = B - A;
end

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

その他の回答 (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