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

📄 franks_max_marginalize_pot.m

📁 The BNL toolbox is a set of Matlab functions for defining and estimating the parameters of a Bayesi
💻 M
字号:
function marg_pot=franks_max_marginalize_pot(table,over,dimsizes)
%mymarginalize_pot marginalizes table over the dimensions in over
max_marg_pot=table;

for i=over
     max_marg_pot=max(max_marg_pot,[],i);
    
end
marg_pot=squeeze(max_marg_pot); %remove all dimensions of size 1
max_marg_pot=reshape(max_marg_pot,dimsizes);%put back relevant dimensions of size 1

⌨️ 快捷键说明

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