Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to add cost function to an object in .mat file ?

1 vue (au cours des 30 derniers jours)
SUSHMA MB
SUSHMA MB le 27 Mar 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a coordinates of a polygon in 2D form, i.e., x and y coordinates of a polygon, now i want to add cost to that polygon, can you tell me how to add cost to that polygon with x, y coordinates.
Ex: Suppose the coordinates of the polygon are [12.45 36.05 ; 12.45 35.7; 12.9 35.65; 12.9 36; 12.7 36; 12.7 36.1; 12.4 36.05] now i want to add 1000 as cost of the polygon. How can i add? please reply.

Réponses (0)

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by