strcmprate
Versión 1.0.0.0 (4,71 KB) por
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.
Citar como
Seth Kenner (2024). strcmprate (https://www.mathworks.com/matlabcentral/fileexchange/51845-strcmprate), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Characters and Strings en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |