Matlab code for selecting backup cluster head in case of occurring breakdown in primary CH?
Show older comments
i try to write matlab code for selecting secondry or backup CH as select priary CH which is selecteed based on no of parameter residual enery distane between BS .But i canot also writing how make handover between primary and backup CH without faiular of network or lossing data
5 Comments
Walter Roberson
on 15 Aug 2022
Is this a MATLAB question, in the sense that you are getting an error in the MATLAB code you used to implement this? Or is this an algorithm question, in that you do not know the steps to do the task?
Mai
on 16 Aug 2022
Walter Roberson
on 16 Aug 2022
Edited: Walter Roberson
on 16 Aug 2022
So then this is an algorithm question: you do not know what steps are needed. You should research papers that describe the steps needed to select a vice cluster head.
When you have found the algorithm and are having trouble implementing it (with you already knowing what steps you need) then we can help you debug your (commented) attempt. We do not, however, do your research for you.
Mai
on 22 Aug 2022
Image Analyst
on 22 Aug 2022
To learn how to write it in MATLAB code, see these links. Sorry but the few volunteers here can't write up a turnkey project for everyone who posts here that does not yet know how to program in MATLAB. Mathworks give you numerous options to learn the language. You can even go to YouTube.
Answers (0)
Categories
Find more on Matrix Indexing 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!