canonmarg.m
来自「Gaussian belief propagation code in matl」· M 代码 · 共 14 行
M
14 行
% CANONMARG Compute the marginal p(xs), where p is a Normal density% following the canonical parameterization.% The function call is [NU L] = CANONMARG(NUS,NUT,LSS,LTT,LST) where% the joint p(xs,xt) is parameterized by% [NUS; [LSS LST% NUT] LST' LTT].% Note we assume LTS = LST'. The output is are the canonical parameters% of the marginal p(xs).function [nu, L] = canonmarg (nus, nut, Lss, Ltt, Lst) nu = nus - Lst*inv(Ltt)*nut; L = Lss - Lst*inv(Ltt)*Lst';
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?