# upper

## Purpose

Convert string to uppercase.

## Synopsis

    t = upper('str')

## Description

`t = upper('str')` converts any lowercase characters in the string `str` to the corresponding uppercase characters and leaves all other characters unchanged.

## Examples

`upper('attention!')` is `'ATTENTION!'`.

## Algorithm

Any values in the range`'a':'z'` are incremented by `'A'-'a'`.

## See Also

    isstr, lower, strcmp

(c) Copyright 1994 by The MathWorks, Inc.