Vector in a Matrix 2x2, calculate the length of the vector
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
%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 comentario
Respuestas (1)
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!