- how the particles and users are stored
- how the distances are stored
- how the plot was generated (in particular, have you got handles to the graphics objects?)
- the maximum number of colours you expect to need (are the 7 default colors of ColorOrder enough?)
Info
This question is closed. Reopen it to edit or answer.
could anyone help me to solve the issue.
1 view (last 30 days)
Show older comments
I am getting the figure when my code executes:
With respect to the figure the 12 black small circle represents the number of users and 5 colourful big circle represents the particles.
using my code i measured the distance of each and every particle with respect to 12 users.
based upon the distance measurements the color of the small circle needs to be changed .
for example,if particle 1 is chosen to be the best then the result from the command window:
particle 1 (dimensions) = 1.4625 2.2959
distance of particle 1 with respect to 12 users :
2.8405
2.7748
1.8211
2.7829
1.8504
2.3174
0.2868
0.8485
2.1030
0.3243
0.2199
0.7376
Now the color of the 12 users needs to be changed according to this distance measurement.
the first minimum distance user and first maximum distance users needs to be in same color
the second minimum distance user and secondmaximum distance users needs to be in another same color.
the third minimum distance user and third maximum distance users needs to be in another same color and goes on.
Could anyone please help me on this.
1 Comment
Guillaume
on 8 Feb 2019
Edited: Guillaume
on 8 Feb 2019
It would be helpful to know:
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!