unwrapstates.m

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

M
13
字号
% Take the HMM states, and unwrap them to the tau/scale states% and do so for each samplefunction unwrappedStates = unwrapStates(encodedStates,G)[K,pathLength]=size(encodedStates);unwrappedStates = zeros(K,pathLength,2);for k=1:K    unwrappedStates(k,:,:)=G.stateToScaleTau(encodedStates(k,:),:);end

⌨️ 快捷键说明

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