upper
Returns a string or cell array where each lowercase character of the input string, matrix or cell array is replaced by the corresponding uppercase character. Non-alphabetic characters in the input are not modified.
Syntax
R = upper(s)
Inputs
- x
- Type: string | mat | cell
Outputs
- R
- Type: string | cell
Examples
R = upper('Test 123')
R = TEST 123
R = upper({'Help Info:', 'TEST uppercase'})
R =
{
[1,1] HELP INFO:
[1,2] TEST UPPERCASE
}