Vector in a Matrix 2x2, calculate the length of the vector
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
%Hello Matlab friends
%I would like to calculate the length aut of a 2x2 Matrix. A=[0 0;12 12]; two points x0/y0 and x12/y12.
A=[0 0;12 12]
l= sqrt((A(2,1)-A(1,1))^2+(A(2,2)-A(1,2))^2);
%i am happy for every help, thank you
1 Kommentar
Antworten (1)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!