Extracting numbers from Text document
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
Hi, I have a text document which has the values a5229si. I should get the output as 5. Can anyone reply me the code.
Regards.,
Siva
2 件のコメント
TAB
2012 年 4 月 30 日
How data is formated in your text document.
Is it contains only a5229si ?
Sivakumaran Chandrasekaran
2012 年 4 月 30 日
回答 (1 件)
Andrei Bobrov
2012 年 4 月 30 日
regexprep(str,str,'5')
1 件のコメント
Sivakumaran Chandrasekaran
2012 年 4 月 30 日
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!