Extracting numbers from Text document
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaires
TAB
le 30 Avr 2012
How data is formated in your text document.
Is it contains only a5229si ?
Sivakumaran Chandrasekaran
le 30 Avr 2012
Réponses (1)
Andrei Bobrov
le 30 Avr 2012
regexprep(str,str,'5')
1 commentaire
Sivakumaran Chandrasekaran
le 30 Avr 2012
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!