Extracting numbers from Text document
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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 Commenti
TAB
il 30 Apr 2012
How data is formated in your text document.
Is it contains only a5229si ?
Sivakumaran Chandrasekaran
il 30 Apr 2012
Risposte (1)
Andrei Bobrov
il 30 Apr 2012
regexprep(str,str,'5')
1 Commento
Sivakumaran Chandrasekaran
il 30 Apr 2012
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!