How can I get X and Y column Matrices from plotted data?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have a circular-ish polygon of data points and would like to get these points into X and Y column matrices to do more work on like running the convex hull function.
Thanks
2 Comments
the cyclist
on 30 Jun 2015
"circular-ish polygon of data points" doesn't adequately describe the way the data are currently stored. Can you give an example (ideally using MATLAB code, not just a description) of the data you have, and how you want the output to look?
Michael Darrow
on 30 Jun 2015
Answers (2)
Thorsten
on 30 Jun 2015
[i j] = ind2sub(size(I), find(I == 0));
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!