| MATLAB Function Reference | Search  Help Desk |
| upper | Examples See Also |
t = upper('str')
B = upper(A)
t = upper('str')
converts any lower-case characters in the string str to the corresponding upper-case characters and leaves all other characters unchanged.
B = upper(A)
when A is a cell array of strings, returns a cell array the same size as A containing the result of applying upper to each string within A.
upper('attention!') is ATTENTION!.
Character sets supported:
lower Convert string to lower case