Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 07-Oct-2025 22:23:10 levenshtein_matrix_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 levenshtein_matrix() computes the Levenshtein matrix associated with the computation of the Levenshtein distance between two strings. S = "water" T = "wine" 0 1 2 3 4 1 0 1 2 3 2 1 1 2 3 3 2 2 2 3 4 3 3 3 2 5 4 4 4 3 S = "sitting" T = "kitten" 0 1 2 3 4 5 6 1 1 2 3 4 5 6 2 2 1 2 3 4 5 3 3 2 1 2 3 4 4 4 3 2 1 2 3 5 5 4 3 2 2 3 6 6 5 4 3 3 2 7 7 6 5 4 4 3 S = "sunday" T = "saturday" 0 1 2 3 4 5 6 7 8 1 0 1 2 3 4 5 6 7 2 1 1 2 2 3 4 5 6 3 2 2 2 3 3 4 5 6 4 3 3 3 3 4 3 4 5 5 4 3 4 4 4 4 3 4 6 5 4 4 5 5 5 4 3 S = "pheromones" T = "photographer" 0 1 2 3 4 5 6 7 8 9 10 11 12 1 0 1 2 3 4 5 6 7 8 9 10 11 2 1 0 1 2 3 4 5 6 7 8 9 10 3 2 1 1 2 3 4 5 6 7 8 8 9 4 3 2 2 2 3 4 4 5 6 7 8 8 5 4 3 2 3 2 3 4 5 6 7 8 9 6 5 4 3 3 3 3 4 5 6 7 8 9 7 6 5 4 4 3 4 4 5 6 7 8 9 8 7 6 5 5 4 4 5 5 6 7 8 9 9 8 7 6 6 5 5 5 6 6 7 7 8 10 9 8 7 7 6 6 6 6 7 7 8 8 levenshtein_matrix_test(): Normal end of execution. 07-Oct-2025 22:23:10