Skip to content

MATLAB : WSN SIMULATION

The instruction is valid for Matlab version R2007b.
First dowload and save grTheory toolobox (save it in Tools): http://www.mathworks.com/matlabcentral/fileexchange/4266. Open the Matlab and go to the File/Set Path and click on the Add Folder. Insert the path to your grTheory toolbox. 

Next create working folder and store there all files prepared at the bottom of this webpage (networksDB.mat, loadAndPrintNet.m, oneRoundWSN.m).

The networkDb.mat file that contains the database of the WSN networks in the form of Matlab matrixes with the node’s X,Y coordinates.

The function “loadAndPrintNet(numberOfNodes, nodeDegree) loads a selected ad-hoc network model from the networkDB.mat structure and displays its layout into the Matlab figure. User can choose 50, 100 or 400 number of nodes and degree of node 8, 10, 12, 14, 16, 18, 20, 22, 24, 26. Database is suitable for algorithms investigation under the same network conditions. You can find more details in the file comments. You can view the printed layout in the Matlab figure window.

To simulate the energy consumption of one round of data gathering from all the nodes, download oneRoundWSN.m and follow the comments within this file.

(source: http://wislab.cz)

Posted: 2017/11/13

51 thoughts on “MATLAB : WSN SIMULATION”

  1. I don’t even know how I ended up here, but
    I thought this post was great. I do not know who you are but definitely you’re
    going to a famous blogger if you aren’t already 😉 Cheers!

  2. Hello! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My website looks weird when viewing from my iphone4. I’m trying to find a theme or plugin that might be able to fix this problem. If you have any suggestions, please share. Appreciate it!

  3. The crux of your writing whilst appearing agreeable originally, did not really sit perfectly with me after some time. Someplace throughout the sentences you were able to make me a believer unfortunately just for a while. I nevertheless have a problem with your jumps in assumptions and one would do nicely to help fill in those breaks. In the event you can accomplish that, I could certainly be impressed.

  4. Terrific work! This is the type of info that should be shared around the net. Shame on the search engines for not positioning this post higher! Come on over and visit my site . Thanks =)

  5. Magnificent beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  6. It’s a pity you don’t have a donate button! I’d most certainly donate to this excellent blog! I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will share this blog with my Facebook group. Talk soon!

  7. Undeniably imagine that which you stated. Your favourite reason appeared to be on the net the simplest factor to be aware of. I say to you, I certainly get irked while other folks consider issues that they just do not recognise about. You managed to hit the nail upon the highest and defined out the whole thing with no need side-effects , people can take a signal. Will probably be again to get more. Thank you

  8. Фурнитура для входных металлических дверей

    Nice post. I used to be checking continuously this blog and I am impressed! Extremely helpful info specifically the last part 🙂 I maintain such information a lot. I used to be seeking this certain information for a long time. Thank you and good luck.

    1. User Avatar

      I’m not working on that project anymore. I wrote this article in 2017, 5 years ago. Please try it yourself first. If you get stuck, you can come back here. I’ll do what I can to help. 🙂

  9. кофейный капсулы

    Hello friends, its wonderful article concerning educationand entirely defined, keep it up all the time.

  10. Hey There. I discovered your blog the usage of msn. This is a really well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I will certainly return.

  11. Криптовалюты

    I believe everything posted made a lot of sense. However, what about this? suppose you added a little content? I mean, I don’t want to tell you how to run your website, however what if you added a post title that grabbed folk’s attention? I mean BLOG_TITLE is kinda boring. You might look at Yahoo’s home page and see how they write post titles to get people interested. You might add a related video or a pic or two to get people interested about what you’ve written. In my opinion, it might make your posts a little bit more interesting.

  12. https://dostavych.by/

    No matter if some one searches for his vital thing, thus he/she wishes to be available that in detail, so that thing is maintained over here.

  13. I would like to express my gratitude to the author of this article for his professionalism and dedication to accuracy. He provided reliable facts and well-reasoned conclusions, making this article a reliable source of information.

  14. The author provides examples from various sources, which allows you to get a more complete understanding of the topic. The article is a neutral and informative resource for those interested in this issue.

  15. It’s really very complicated in this full of activity life to listen news on TV, so I only use internet for that purpose, and take the most up-to-date news.

  16. I appreciate the factual and informative nature of this article. It offers the reader the opportunity to consider various aspects of the issue at hand without inculcating any particular opinion.

  17. I’ve been exploring for a little for any high-quality articles or blog posts on this sort of area . Exploring in Yahoo I ultimately stumbled upon this web site. Studying this information So i am happy to exhibit that I’ve an incredibly good uncanny feeling I discovered just what I needed. I so much undoubtedly will make certain to don?t put out of your mind this web site and give it a look regularly.

  18. Great article! This is the type of information that are supposed to be shared around the web. Shame on the seek engines for now not positioning this publish upper! Come on over and talk over with my site . Thanks =)

  19. It’s perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I desire to suggest you few interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read even more things about it!

  20. You have made some good points there. I checked on the internet for additional information about the issue and found most people will go along with your views on this website.

  21. Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say wonderful blog!

  22. Hello just wanted to give you a brief heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.

  23. Just wish to say your article is as surprising. The clearness in your post is simply excellent and i can assume you’re an expert on this subject. Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please carry on the gratifying work.

  24. My spouse and I absolutely love your blog and find many of your post’s to be just what I’m looking for. Does one offer guest writers to write content in your case? I wouldn’t mind writing a post or elaborating on a number of the subjects you write about here. Again, awesome weblog!

  25. Translated: This allows readers to form their own points of view based on facts.
    (Origin: Это позволяет читателям формировать свою собственную точку зрения на основе фактов.)

Leave a Reply

Your email address will not be published. Required fields are marked *