Effacer les filtres
Effacer les filtres

Code that calculate possible combination of vertices to form triangle from the generated 20 by 2 matrix.

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

John D'Errico
John D'Errico le 28 Août 2018

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by