Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This submission has two functions compstr and compstrs (could have been incorporated in one function). The two function are the same except that one is for sorted arrays, and the other isn't.
The function searches for equal strings in the two arrays, and also gives the strings which appear only in one of the two string-arrays.
[iequal,i1,i2]=strcmp[s](S1,S2);
iequal gives any nx2 array for indices in S1 and S2 respectively for the equal strings. i1 and i2 point to strings only appearing in S1 and S2.
!!!This function is made only for string-arrays where no equal strings appear!!!
Citation pour cette source
Stijn Helsen (2026). String-list Comparison (https://fr.mathworks.com/matlabcentral/fileexchange/3989-string-list-comparison), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0.0 (1,05 ko)
-
Aucune licence
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
