upper
문서를 대문자로 변환
설명
는 입력 문서의 소문자를 그에 대응하는 대문자로 각각 변환하고 소문자가 아닌 문자는 변환하지 않습니다.newDocuments
= upper(documents
)
예제
문서를 대문자로 변환하기
문서로 구성된 배열의 모든 소문자를 대문자로 변환합니다.
documents = tokenizedDocument([ "An Example of a Short Sentence" "A Second Short Sentence"])
documents = 2x1 tokenizedDocument: 6 tokens: An Example of a Short Sentence 4 tokens: A Second Short Sentence
newDocuments = upper(documents)
newDocuments = 2x1 tokenizedDocument: 6 tokens: AN EXAMPLE OF A SHORT SENTENCE 4 tokens: A SECOND SHORT SENTENCE
입력 인수
documents
— 입력 문서
tokenizedDocument
배열
입력 문서로, tokenizedDocument
배열로 지정됩니다.
출력 인수
newDocuments
— 출력 문서
tokenizedDocument
배열
출력 문서로, tokenizedDocument
배열로 반환됩니다.
버전 내역
R2017b에 개발됨
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)