Vector in a Matrix 2x2, calculate the length of the vector
2 ビュー (過去 30 日間)
古いコメントを表示
%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 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!