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

📄 ffun.m

📁 一个关于卫星导航方面的ekf滤波程序
💻 M
字号:
function new_state = ffun(state, V)
% EKF-System Function
% Input: Current state, System noise
% Output: New state

[row col]=size(state);
tspan=[1,26];
for k=1:col
    [tt,new]=rk4('threebdyna',[0,12,0.5],state(:,k));%ode45(@DyDt, tspan, state(:,k));
    new_sta(:,:,k)=new(1:24,:);
end
if col==1
    new_state = new_sta(24,:,:)'+ V;
else 
    for k=1:col
        for i=1:6
            new_state(i,k) = new_sta(24,i,k)+V(i,k);
        end
    end
    %new_state = new_state';
end

⌨️ 快捷键说明

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