Improve speed up for forward-backward algorithm
In the previous post we were talking about repmat function in MEX format. We can reach further improvements if replace forward-backward procedure with C implementation (MEX format). The source code for the forward-backward in C can be found in PMTK which is a collection of Matlab/Octave functions, written by Matt Dunham, Kevin Murphy.
The results see below (with the same initial conditions):

Without MEX fwdbck procudure

forward-backward MEX
Speeding up with repmat function (MEX version)
To run your matlab applications with repmat “functionality” faster, you can use MEX format of this function from Lightspeed matlab toolbox.
With the same initial conditions you can see “productivity boosting”. Figure 1 – with default repmat function. Figure 2 – with MEX version of repmat function.

Fig.1 matlab default repmat function

Fig. 2 MEX version repmat
| Posted in Matlab, Software | 1 Comment »
Viterbi algorithm Demo
En excellent tutorial on Viterbi Algorithm was fount at http://www.telecom.tuc.gr/~ntsourak/demo_viterbi.htm


| Posted in Matlab, Software | No Comments »