String-list Comparison

버전 1.0.0.0 (1.05 KB) 작성자: Stijn Helsen
Compares two string-arrays to find equals.
다운로드 수: 1.5K
업데이트 2003/9/22

라이선스 없음

This submission has two functions compstr and compstrs (could have been incorporated in one function). The two function are the same except that one is for sorted arrays, and the other isn't.

The function searches for equal strings in the two arrays, and also gives the strings which appear only in one of the two string-arrays.

[iequal,i1,i2]=strcmp[s](S1,S2);

iequal gives any nx2 array for indices in S1 and S2 respectively for the equal strings. i1 and i2 point to strings only appearing in S1 and S2.

!!!This function is made only for string-arrays where no equal strings appear!!!

인용 양식

Stijn Helsen (2026). String-list Comparison (https://kr.mathworks.com/matlabcentral/fileexchange/3989-string-list-comparison), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0