How can extract specific numbers from a string???
Mostra commenti meno recenti
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!!!
Risposta accettata
Più risposte (1)
Image Analyst
il 9 Set 2016
0 voti
Have you tried sscanf() or str2double()?
1 Commento
Thimiod Athan
il 9 Set 2016
Modificato: Thimiod Athan
il 9 Set 2016
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!