https://github.com/SBIUCD/BDiffProt
Raw File
Tip revision: d08cfc4340c37feac5601cf801a5268ea088203d authored by SBIUCD on 12 May 2016, 10:42:40 UTC
Create README.txt
Tip revision: d08cfc4
marginal.m
function [L] = marginal(LP1,LP2)
%UNTITLED3 Summary of this function goes here
%   Detailed explanation goes here
M=max(LP1,LP2);
L=log(exp(LP1-M)+exp(LP2-M))+M;

end

back to top