⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 predict_grad.m

📁 该系统主要使用matlab实现了stbc2*1系统的发送和接收
💻 M
字号:
function [xP] = predict_grad(xP,G,rx,lamda)
%This rouine uses the gradient descent algorithm to try to help
%'push' particles to a region of higher probability before the 
%state update equation
global Npart

if nargin == 3, lamda = 0.1; end;
for r = 1:Npart,
    %get better estimate for xP's
    P = xP(:,:,r);
    P = P + 2*lamda*(rx-P*G)*G';  %Gradient of observation equation
    xP(:,:,r) = P;
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -