How can extract specific numbers from a string???
이전 댓글 표시
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!!!
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 9월 9일
0 개 추천
Have you tried sscanf() or str2double()?
댓글 수: 1
Thimiod Athan
2016년 9월 9일
편집: Thimiod Athan
2016년 9월 9일
카테고리
도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!