How to make triangular shape clustering?

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 comentarios

Image Analyst
Image Analyst el 14 de Jun. de 2014
Can you give an example or upload a screenshot? Do you just want random points located inside a triangle in 2D?
Smriti bhaleshwar
Smriti bhaleshwar el 16 de Jun. de 2014
Yep i just want random points located inside an equilateral triangle in 2D...
Smriti bhaleshwar
Smriti bhaleshwar el 20 de Jun. de 2014
hello....i have seen your example. But unfortunately it doesn't resemble my query. Actually i want to do a topological type clustering in which the data will transfer from center head of one group of clustered triangle to the bigger triangle. And also i have to set the array size for clustering.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 16 de Jun. de 2014

0 votos

See attached demo that does the same thing for a circle. It will be trivial for you to adapt it to a triangle.

Etiquetas

Preguntada:

el 14 de Jun. de 2014

Comentada:

el 20 de Jun. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by