0

I am new in MATLAB. I want to deploy 25 sensor nodes inside circle area with 500m radius, such that the distance between any two nodes=50m. I don't want random deployment. and the base station must be at the center. I know this code draw circle

x = linspace(-sqrt(500),sqrt(500));
y1 = sqrt(500-x.^2);
y2 = -sqrt(500-x.^2);
plot(x,y1,x,y2)
axis equal
hold on
M.salameh
  • 109
  • 7
  • Possible duplicate of [how to make circle in matlab and generate random points inside it](https://stackoverflow.com/questions/22768349/how-to-make-circle-in-matlab-and-generate-random-points-inside-it) – brainkz Apr 02 '18 at 22:50
  • @brainkz I need the distance between the nodes exactly=50 not random deployment – M.salameh Apr 02 '18 at 22:53
  • 2
    I'm not mathematician, but how do you imagine 4 points on a plane with equal distance between each of 2? – brainkz Apr 02 '18 at 22:56

0 Answers0