📄 scaletautostate.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -