How can extract specific numbers from a string???
Mostrar comentarios más antiguos
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!!!
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 9 de Sept. de 2016
0 votos
Have you tried sscanf() or str2double()?
1 comentario
Thimiod Athan
el 9 de Sept. de 2016
Editada: Thimiod Athan
el 9 de Sept. de 2016
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!