function Z = dda(X,Y) X='98765432109876543210987654321098765432109876543210987654321' Y='98765432109876543210987654321098765432109876543210987654321' Z='197530864219753086421975308642197530864219753086421975308642'; end
Consider X = '0' and Y = '0'....then your output will be "1×0 empty char array", instead of Z = '0'. :)
ok respect :!!!!
Calculate the Levenshtein distance between two strings
304 Solvers
96 Solvers
Construct a string from letters and counts
113 Solvers
Convert from Base 10 to base 5
119 Solvers
315 Solvers