Programming |
Function Summary
MATLAB provides these functions for working with character arrays:
Function |
Description |
' |
Create the string specified between quotes. |
|
Create a string of blanks. |
|
Write formatted data to a string. |
|
Concatenate strings. |
|
Concatenate strings vertically. |
Function |
Description |
|
Remove trailing blanks. |
|
Make all letters lowercase. |
|
Sort elements in ascending or descending order. |
|
Justify a string. |
|
Replace one string with another. |
|
Remove leading and trailing white space. |
|
Make all letters uppercase. |
Function |
Description |
|
Execute a string with MATLAB expression. |
|
Read a string under format control. |
Function |
Description |
|
Find one string within another. |
|
Compare strings. |
|
Compare strings, ignoring case. |
|
Find matches for a string. |
|
Compare the first N characters of strings. |
|
Compare the first N characters, ignoring case. |
|
Find a token in a string. |
Function |
Description |
|
Return true for a cell array of strings. |
|
Return true for a character array. |
|
Return true for letters of the alphabet. |
|
Determine if a string is of the specified category. |
|
Return true for white-space characters. |
Function |
Description |
char |
Convert to a character or string. |
|
Convert a character array to a cell array of strings. |
|
Convert a string to numeric codes. |
|
Convert an integer to a string. |
|
Convert a matrix to an eval 'able string. |
|
Convert a number to a string. |
|
Convert a string to a number. |
|
Convert a string to a double-precision value. |
Function |
Description |
|
Set the intersection of two vectors. |
|
Detect members of a set. |
|
Return the set difference of two vectors. |
|
Set the exclusive OR of two vectors. |
|
Set the union of two vectors. |
|
Set the unique elements of a vector. |
Converting from String to Numeric | Dates and Times |
© 1994-2005 The MathWorks, Inc.