collapsez.m

来自「Continuous Profile Models (CPM) Matlab T」· M 代码 · 共 13 行

M
13
字号
function newZ = collapseZ(z)%% take the latent trace found when G.numBins>1%% and simply sum out the bins so that it is sort of the%% equivalent of a 1D latent traceif length(size(z))==2    newZ=z;else    newZ = sum(z,3);endreturn;

⌨️ 快捷键说明

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