本文共 747 字,大约阅读时间需要 2 分钟。
Gauss – Newton algorithms are:
(1)
where is the Jacobian matrix of computed at and has the following expression:
(2)
Jacobian matrix is presented in Matlab:
function G = jacob(X, x)% Jacobian matrix computation% --------------------------------% G = jacobian(X, x)% G = Jacobian matrix % x = 2D position estimate% X = matrix for receiver positions%[dim,L] = size(X); % L is number of receivers; dim is dimension of spacef_TOA = sqrt(sum((ones(L,1)*x'-X').^2,2));G = (ones(L,1)*x' - X')./(f_TOA*ones(1,dim));
使用Gauss-Newton算法的定位示意图如下:
可见,真实位置和估计出来的位置大致重合。这说明能定位的同时又有定位误差,这是很正常的,我们需要关注的是误差的大小,能否满足我们的需求:
从上图可以看出,信噪比为20dB时的均方根误差为727m,信噪比为30dB时的均方根误差为216m。
可见,这个误差无论和ML方法中的牛顿——拉夫森方法以及和NLS方法中的三种方法相比,定位误差都相差无几。
相关代码就不太方便直接贴出来了,因为有些人是不懂感恩的,拿了你的分享还反咬你一口。
转载地址:http://xijaf.baihongyu.com/