Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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.

回答(0 个)

此问题已关闭。

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by