How to make triangular shape clustering?
Show older comments
I have done circular clustering in matlab 2012 and want to change the circular shape to an equilateral triangle...but dont know what boundary equations i will give to make a triangle.
4 Comments
Image Analyst
on 14 Jun 2014
Can you give an example or upload a screenshot? Do you just want random points located inside a triangle in 2D?
Smriti bhaleshwar
on 16 Jun 2014
Smriti bhaleshwar
on 20 Jun 2014
Image Analyst
on 20 Jun 2014
Please read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Then attach a picture so we'll know what you mean.
Answers (1)
Image Analyst
on 16 Jun 2014
0 votes
See attached demo that does the same thing for a circle. It will be trivial for you to adapt it to a triangle.
Categories
Find more on ROI-Based Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!