一种无限定位,toa时延定位算法的代码。matlab源程序 希望采纳( |
| SCRIPT: simMLE
|
| PURPOSE: Simulate a relative location system by generating
| random measurements and maximizing the likelihood fcn.
| After many trials, show the results vs. the Cramer-Rao Bound.
|
| AUTHOR: Neal Patwari
| http://www.engin.umich.edu/~npatwari/
|
| REFERENCE: Relative Location Estimation in Wireless Sensor Networks
| (N. Patwari, A. O. Hero, M. Perkins, N. S. Correal, R. J. O Dea),
| IEEE Trans. Signal Processing, vol. 51, no. 8, Aug. 2003, pp. 2137-2148.
|
tic
Use globals to allow minimization functions access to network info,
debugging info.
global refDevices blindDevices totalDevices linearRefLocs dhat funcEvals dfuncEvals
Basic simulation parameters
roomSize = [1,1] Room size, meters
gridSize = 5 How many sensors per side
refDevices = 4 How many references (must be same length as actualRefLocs)
trials = 20 How many inde)