showheaderabunb.m

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

M
27
字号
function showHeaderAbunB(ha)%% assumes all ha are the same size%% displays each bin one figure at a time[numB,numTime] = size(ha{1});if numB==1    figure,showHeaderAbun(ha);else    ha2 = cell2mat(ha);    numExp = length(ha);    ha2 = reshape(ha2,[size(ha{1}) numExp]);%     %% just for testing, collapse again%     keyboard;%     ha2 = sum(ha2,1);    numB=1;        ha3=cell(1,numExp);    for bb=1:numB        for ex=1:numExp                        ha3{ex} = ha2(bb,:,ex);        end        figure,showHeaderAbun(ha3);        title(['Bin ' num2str(bb) ' of ' num2str(numB)]);    endend

⌨️ 快捷键说明

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