Azzera filtri
Azzera filtri

How to create a vector from two or three point?

22 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

Jose Marques
Jose Marques il 9 Set 2017
A = [1,2]
B = [6,3]
C = [1,5]
AB = B - A
AC = C - A
The same with three points
  3 Commenti
Jose Marques
Jose Marques il 9 Set 2017
function [vector] = calculate_vector(A,B)
vector = B - A;
end

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by