EditDist.m

版本 1.0.0.0 (1.2 KB) 作者: Miguel Castro
EDITDIST finds the edit distance between strings s1 and s2.
4.1K 次下载
更新时间 2000/12/6

无许可证

EDITDIST finds the edit distance between strings s1 and s2. The Edit Distance is defined as the minimum number of single-character edit operations (deletions, insertions, and/or replacements) that would convert s1 into s2 or vice-versa. Uses an efficient dynamic programming algorithm. Useful for gene sequence matching, among other applications.

Tested under MATLAB 5.3, but should also work under versions 4.x also.

引用格式

Miguel Castro (2025). EditDist.m (https://www.mathworks.com/matlabcentral/fileexchange/213-editdist-m), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R11
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0