jjj

An m-file implementation of DP over matrix of state probability.

Contents

Syntax

Description

[optimValue, dpPath]=dpOverMap(stateProbMat, transProbMat) returns the optimum value and the corresponding DP (dynamic programming) for HMM evaluation.

Example

load pfMat.mat
pfMat(1:20, :)=0;
%pfMat=[5 2 6; 2 9 3];
penalty=10000;
showPlot=1;
[optimValue, dpPath, dpTable, time]=dpOverMapM(pfMat, penalty, showPlot);
fprintf('Time=%.2f sec\n', time);
Attempt to reference field of non-structure array.

Error in dpOverMapM (line 53)
dpTable(1,:)=stateProbMat(1,:)+opt.initProb;

Error in jjj_help (line 24)
[optimValue, dpPath, dpTable, time]=dpOverMapM(pfMat, penalty, showPlot);

See Also

dpOverMap.


Top page   Next: interpViaGaussian.m   Prev:kMeansClustering.m