asort: a pedestrian alphanumeric string sorter

numerically sorts an array or cell array of strings.

이 제출물을 팔로우합니다

ASORT sorts an array or cell array of alphanumeric strings numerically rather than in ascii dictionary order

strings are divided into three different categories, which are returned in separate cells

- numerically sorted strings that contain only one readable number
- ascii dictionary order sorted strings that contain more than one readable or invalid numbers
- ascii dictionary order sorted strings that contain no numbers

see
> help asort
for explanations and options

this sorter can be used, for instance, to sort files with numerical extensions, eg,

f.1
f.2
f.3
f.10
f.21

look at the accompanying published m-file for a few examples

인용 양식

us (2026). asort: a pedestrian alphanumeric string sorter (https://kr.mathworks.com/matlabcentral/fileexchange/7212-asort-a-pedestrian-alphanumeric-string-sorter), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

a previous revision 12/12/05 apparently never made it online (thanks to tom muylle for stumbling onto this omission!); the resubmission has the ver tag 13-Dec-2006 18:29:17