Extract numbers only

버전 1.0.0.0 (7.13 KB) 작성자: P
extract only numbers from text file
다운로드 수: 2K
업데이트 날짜: 2016/5/19

라이선스 보기

This is inspired by Peder's READTEXT
and use it to extract numbers only and output an array of only numerical value. The input file can be any numbers mixed with text, symbols,
as long as the numbers are separated from letters at least by a space.
For example, it won't work on 123abc, because computer does not know it should be 1,23 or 12,3, so it will work on 123 abc or 123,abc to extract
a numerical value 123. This is useful for machine generated file often contains some commented text along with values.

인용 양식

P (2024). Extract numbers only (https://www.mathworks.com/matlabcentral/fileexchange/17770-extract-numbers-only), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Text Analytics Toolbox에 대해 자세히 알아보기
도움

받음: readtext

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

compliant with new license