strcmprate

版本 1.0.0.0 (4.7 KB) 作者: Seth Kenner
Find the best comparison to a string from a list of strings
71.0 次下载
更新时间 2015/6/30

查看许可证

The strcmprate function compares a string to a list of strings returning the index and rating of the best comparison from the list.
Example:
[i,r] = strcmprate('testing costs',{'test cost' 'costing test' 'cost testing'})

i = 3
r = 0.6923

This function was written to find small discrepancies in text fields and records in a database from data entry errors.

引用格式

Seth Kenner (2024). strcmprate (https://www.mathworks.com/matlabcentral/fileexchange/51845-strcmprate), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
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