How to store the coordinates of polygon found from for loop.?

1 vue (au cours des 30 derniers jours)
Ravi Singh
Ravi Singh le 18 Fév 2019
I am getting the coordinates of box polygon in the for loop and i want to store it in an array and also i want to draw these coordinates on single image. I am getting error because boxpolygon itself is itself a array.

Réponses (1)

jahanzaib ahmad
jahanzaib ahmad le 18 Fév 2019
u can store them in cells.. using {}
A=[]; this before for loop
and this inside loop XX AND XY are vertices of polygons
AB=[XX,XY];
A{i} = AB;

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by