|
Pattern Matching using the DP algorithm
The following functions show a straightforward implementation
of the DP algorithm and how it is used for speech recognition
dp_asym.m :
Perform the Dynamic Programming algorithm to compute the
distance between the vector sequences X and Y.
Return the overall distance, the complete distance matrix and a matrix containing
the optimum path, i.e. the "matching function".
Testing the DP algorithm:
dptest.m
dptest.fig
record two speech signals, compute the
mel spectral vector sequences X and Y
and match them using the dp_asym function.
Display the patterns and the matching function.
|