strcmprate
Versione 1.0.0.0 (4,71 KB) da
Seth Kenner
Find the best comparison to a string from a list of strings
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.
Cita come
Seth Kenner (2024). strcmprate (https://www.mathworks.com/matlabcentral/fileexchange/51845-strcmprate), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2014a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |