How can extract specific numbers from a string???
Ältere Kommentare anzeigen
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!!!
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 9 Sep. 2016
0 Stimmen
Have you tried sscanf() or str2double()?
1 Kommentar
Thimiod Athan
am 9 Sep. 2016
Bearbeitet: Thimiod Athan
am 9 Sep. 2016
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!