Skip to main content
1 of 4
MGK
  • 565
  • 3
  • 9

What is the best way to draw cluster for every station?

I have a binary matrix "X" of U rows and N columns. each row of X has 1 to maximum 3 ones.

Each row corresponds to a subscriber and every column corresponds to a service point. So, the ones in a given row corresponds to the service points that the subscriber can be served by.

How can I graphically show this association.

Lets say, we have 5 service points, randomly/systematically arranged over an area.

x-cordinates of the service points are =[200 600 200 600 400] y-cordinates of the service points are =[200 200 600 600 400]

And we have 10 subscribers randomly distributed over the area with boundary points (0,0),(0,800),(0,800) and (800,800).

And the X matrix is given by

X=[0 0 1 0 1] [0 1 1 0 0] [1 0 0 1 0] [0 0 0 1 0] [1 1 0 1 0] [0 0 1 1 0] [0 0 1 0 1] [0 1 0 0 1] [1 1 0 0 1] [1 1 0 0 1]

How to graphically show this connections?

MGK
  • 565
  • 3
  • 9