How to create a vector from two or three point?

 Respuesta aceptada

Jose Marques
Jose Marques el 9 de Sept. de 2017
A = [1,2]
B = [6,3]
C = [1,5]
AB = B - A
AC = C - A
The same with three points

3 comentarios

AnhThu Le
AnhThu Le el 9 de Sept. de 2017
I want to create a function to calculate the vector, I can input the what number I need to calculate
Jose Marques
Jose Marques el 9 de Sept. de 2017
function [vector] = calculate_vector(A,B)
vector = B - A;
end

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 9 de Sept. de 2017

Comentada:

el 9 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by