Code that calculate possible combination of vertices to form triangle from the generated 20 by 2 matrix.
1 view (last 30 days)
Show older comments
Kelil Mohammed
on 28 Aug 2018
Answered: John D'Errico
on 28 Aug 2018
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.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!