Code that calculate possible combination of vertices to form triangle from the generated 20 by 2 matrix.
2 次查看(过去 30 天)
显示 更早的评论
Dear Matlab users, I need your help to writ Code that calculate possible combination of vertices to form triangle from the generated 20 by 2 matrix and code that calculate perimeter of a triangle using the matrix. I write the following code that generate x y coordinates of 20 by 2 matrix for 20 points.
coordinates = 50+(50)*rand(20,2);
Thank you very much in advance.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!