Akzeptierte Antwort

Jose Marques
Jose Marques am 9 Sep. 2017

0 Stimmen

A = [1,2]
B = [6,3]
C = [1,5]
AB = B - A
AC = C - A
The same with three points

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by