How can extract specific numbers from a string???
Afficher commentaires plus anciens
I have the string c={ 4 of 5 stars, 5 of 5 stars, 5 of 5 stars, 3 of 5 stars, 3 of 5 stars, 4 of 5 stars}. How can extract to a matrix the bold numbers ????
thank you!!!
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 9 Sep 2016
0 votes
Have you tried sscanf() or str2double()?
1 commentaire
Thimiod Athan
le 9 Sep 2016
Modifié(e) : Thimiod Athan
le 9 Sep 2016
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!