scaletautostate.m
来自「Continuous Profile Models (CPM) Matlab T」· M 代码 · 共 26 行
M
26 行
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function [states,taus,scaleInds] = ...% scaleTauToState(scaleInds,times,G)%% given a list of scaleInds and times, returns the % corresponding state.% (this is the inverse of getTauScale(state)function [states] = ... scaleTauToState(scaleInds,times,G)if (isempty(scaleInds) | isempty(times)) myTimes=[]; myScaleInds=[]; states=[];else %myTimes = fastrepmat(times(:),[length(scaleInds),1]); %myScaleInds = fastrepmat(scaleInds(:),[1,length(times)])'; %myScaleInds=myScaleInds(:); %states = (myTimes-1)*numScales + myScaleInds; states = G.stMap(scaleInds,times); end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?