{"id":19889523,"url":"https://github.com/kritiksoman/wsn-localization","last_synced_at":"2025-05-02T17:33:37.173Z","repository":{"id":37511024,"uuid":"154466951","full_name":"kritiksoman/WSN-Localization","owner":"kritiksoman","description":"MATLAB script for node localization in Wireless Sensor Network","archived":false,"fork":false,"pushed_at":"2019-01-01T05:22:50.000Z","size":684,"stargazers_count":39,"open_issues_count":0,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-05T05:58:53.826Z","etag":null,"topics":["cvx","localization-algorithms","matlab-script","rss","wireless-sensor-networks","wsn-localization"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kritiksoman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-24T08:37:07.000Z","updated_at":"2023-02-21T07:41:20.000Z","dependencies_parsed_at":"2022-08-18T04:05:21.108Z","dependency_job_id":null,"html_url":"https://github.com/kritiksoman/WSN-Localization","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritiksoman%2FWSN-Localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritiksoman%2FWSN-Localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritiksoman%2FWSN-Localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritiksoman%2FWSN-Localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kritiksoman","download_url":"https://codeload.github.com/kritiksoman/WSN-Localization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224324404,"owners_count":17292521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cvx","localization-algorithms","matlab-script","rss","wireless-sensor-networks","wsn-localization"],"created_at":"2024-11-12T18:10:32.405Z","updated_at":"2024-11-12T18:10:32.894Z","avatar_url":"https://github.com/kritiksoman.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node localization in Wireless Sensor Network\n\n[![MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/kritiksoman/WSN-Localization/blob/master/LICENSE)\n\n## Overview\nThis is the MATLAB implementation of the work presented in [RSS-Based Localization in WSNs Using Gaussian Mixture Model via Semidefinite Relaxation](https://ieeexplore.ieee.org/abstract/document/7847378/).\n\n## Files\npathLossModel.m : Plot the path loss model and the histogram of the Gaussian Mixture Model \u003cbr/\u003e\nestimatePos.m : Returns the estimated target position using SDP in CVX\u003cbr/\u003e\nexport_CDF_GM_SDP.m : Creates matrix sdpCDF.mat containing CDF for GM-SDP-2\u003cbr/\u003e\nexport_CDF_WLS.m : Creates matrix wlsCDF.mat containing CDF for weighted least square (WLS)\u003cbr/\u003e\nexport_crlb.m : Creates matrix crlb.mat containing Cramer-Rao Lower Bound (CRLB) for WSN Localization\u003cbr/\u003e\nexport_GM_SDP.m : Creates matrix SDPrmse.mat containing RMSE for GM-SDP-2\u003cbr/\u003e\nexport_WLS.m : Creates matrix SDPrmse.mat containing RMSE for WLS\u003cbr/\u003e\nfindCrlb.m : Returns CRLB for a particular target and anchor placement \u003cbr/\u003e\nfindRSS.m : Returns the Received Signal Strength (RSS) at all target nodes in a WSN\u003cbr/\u003e\nmonteCarloInt.m : Returns the value of monte-carlo integration used in calculating the fisher information matrix\u003cbr/\u003e\nplace.m : Used for setting the location of target and anchor nodes in WSN\u003cbr/\u003e\nplot_CDF.m : Used for plotting the CDF of various localization algorithms from their .mat files\u003cbr/\u003e\nplot_RMSE.m : Used for plotting the RMSE of various localization algorithms from their .mat files\u003cbr/\u003e\n\nSaved output folder contains .mat files of the variables plotted in the result screenshots section.\n\n## Dependencies\n```\nCVX\nStatistics and Machine Learning Toolbox\n```\n\n## Result Screenshots\n\n[1] WSN \u003cbr/\u003e\n\n| Example WSN|\n| ------------- |\n|![image1](https://github.com/kritiksoman/WSN-Localization/blob/master/results/WSN.png)| \n\n[2] Path Loss Model\u003cbr/\u003e\n\n|Path Loss Model|\n| ------------- |\n|![image2](https://github.com/kritiksoman/WSN-Localization/blob/master/results/PathLoss.png) |\n\n[3] RMSE and CDF\u003cbr/\u003e\n\n| RMSE v/s N (number of anchors) | CDF v/s error|\n| ------------- |:-------------:| \n|![image1](https://github.com/kritiksoman/WSN-Localization/blob/master/results/RMSE.png)| ![image2](https://github.com/kritiksoman/WSN-Localization/blob/master/results/CDF.png) |\n\nNote: Slightly different anchor placement was used in the WSN localization simulation.\n\n## Steps to obtain results shown above\n[1] Edit place.m for changing target and anchor node location.\u003cbr/\u003e\n[2] Run export_GM_SDP.m, export_WLS.m, and export_crlb.m to generate .mat files for RMSE.\u003cbr/\u003e\n[3] Run plot_RMSE.m to plot RMSE vs N.\u003cbr/\u003e\n[4] Run export_CDF_GM_SDP.m, and export_CDF_WLS.m to generate .mat files for CDF.\u003cbr/\u003e\n[5] Run plot_CDF.m to plot CDF vs error.\u003cbr/\u003e\n\n## References\n[1] Zhang, Yueyue, et al. \"RSS-based localization in WSNs using Gaussian mixture model via semidefinite relaxation.\" IEEE Communications Letters 21.6 (2017): 1329-1332.\u003cbr/\u003e\n[2] http://cvxr.com/cvx/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritiksoman%2Fwsn-localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkritiksoman%2Fwsn-localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritiksoman%2Fwsn-localization/lists"}