Matlab code clustering in WSN usin PSO

25 views (last 30 days)
venkat rao
venkat rao on 31 May 2019
Commented: Walter Roberson on 28 Dec 2022
I need matalb code for cluster head selection in Wireless sensor networks using particle sworm optimization algorithm. Can any one share the basic code for this?
  5 Comments
said ouhmi
said ouhmi on 28 Dec 2022
Hi Walter Roberson, my project is about energy efficiency in wireless sensor networks I WANT TO WORK ON GRAPH FORMATION to extend the coverage area and energy efficiency in wireless sensor networks. I need the MATLAB code for the optimization. Thank you
Walter Roberson
Walter Roberson on 28 Dec 2022
Coverage area and energy efficiency are two distinct objectives. Do you want to create a single objective that is a weighted sum of the two objectives, or do you want to study the Pareto front by running a multi objective optimization?
For any given set of model parameters, how do you want to calculate the energy efficiency, what is the formula?
These days it is common to consider having nodes with predetermined energy, and to have energy drained for transmission based partly on distance (and possibly on noise), and (less) energy drained just for staying alive or running the sensors. In such cases the local cluster heads drain their energy faster because they might have to transmit further and more often (relaying messages) so it might be necessary to change cluster heads. How do you want to calculate energy efficiency in that case, since energy now has to be measured over time?

Sign in to comment.

Answers (1)

ved prakash
ved prakash on 31 Aug 2019
how to implement wireless sensor network in matlab

Categories

Find more on WSNs in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!