필터 지우기
필터 지우기

How to create a vector from two or three point?

조회 수: 22 (최근 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 CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by