Find Numbers in a String

버전 1.0.0.0 (4.7 KB) 작성자: Edward Zechmann
Finds flaoting point numbers in a string including: complex, real, integers, and currency (dollars).
다운로드 수: 1.3K
업데이트 날짜: 2008/9/30

라이선스 보기

find_nums finds all of the numbers in a string and returns an numeric array, nums, with all of the numbers that were found. By specifying flag as 1,2,3 or 4, the program will find: complex numbers, real numbers, integers, or currency (dollars) respectively.

Also a cell array of the matched string is returned. The cell array maybe useful for reprinting numbers in a new table, using a different parsing method to extract the numbers, or reformatting such as removing spaces.

인용 양식

Edward Zechmann (2025). Find Numbers in a String (https://kr.mathworks.com/matlabcentral/fileexchange/21618-find-numbers-in-a-string), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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