How to find the nearest neighbors points in this case ?
Ältere Kommentare anzeigen
just see this image 1 in this they where creating wsn(wireless sensor network). This i have done in matlab you can see my coding also i attached below.
Image-1

Image-2

in this image they are finding nearest sensor node gateway's, so now i want to find the sensor node nearest sensor node gateway's please help me..
4 Kommentare
Image Analyst
am 6 Dez. 2014
Bearbeitet: Image Analyst
am 6 Dez. 2014
Why is the g5 gateway green instead of blue?
And do you have to start with an image instead of a list?
And I don't exactly understand the grammar of "find the sensor node nearest sensor node gateway's". What is an example input, and the expected output for that input? How many nodes are you putting in? Or are you just inputting an image and need to derive the list from the image?
Matlab111
am 7 Dez. 2014
Image Analyst
am 7 Dez. 2014
I just blindly ran the code and it made this:

It doesn't look anything like your gateway and sensor node image with the blue and green spots above. Can you explain this plot? It's not explained in the code - the comments are very very minimal. And I don't see any image, just a plot or scatterplot.
Matlab111
am 7 Dez. 2014
Akzeptierte Antwort
Weitere Antworten (1)
Rohini Sharma
am 30 Apr. 2015
0 Stimmen
Hello Arul and Image Analyst
How to modify the code in order to connect gateway node with only one sensor node? Here gateway node is connection to all sensor node with in its range=10.
Please reply Thanks
Kategorien
Mehr zu WSNs finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
