Changing case, MATLAB in Engineering

Changing Case:

The MATLAB has two functions which convert strings to all uppercase letters, or all lowercase, known as the upper and lower.

>> mystring = 'AbCDEfgh';

>> lower(mystring)

ans =

abcdefgh

>> upper(ans)

ans =

ABCDEFGH

 

 

 

 

 

Posted Date: 10/20/2012 5:25:42 AM | Location : United States







Related Discussions:- Changing case, Assignment Help, Ask Question on Changing case, Get Answer, Expert's Help, Changing case Discussions

Write discussion on Changing case
Your posts are moderated
Related Questions
Function iscellstr - string function: The function iscellstr will return the logical true when a cell array is a cell array of all the strings, or logical false if not. >>

Algorithm for the function e: The algorithm for the function eoption is as shown: Use the menu function to show the 4 choices. Error-check (an error would take place

Inverse of square matrix: The inverse is, hence the result of multiplying the scalar 1/D by each and every element in the preceding matrix. Note that this is not the matrix A,

Executing a program: Running the program would be completed by typing the name of the script; this would call the other functions: >> calcandprintarea Whenever prompt

Function rmfield - structure: The function rmfield eliminates a field from the structure. It returns a new structure with field eliminated, but does not modify the original st

Write a program to examine exponential function: We will write a program to examine the value of e and the exponential function. It will be a menu-driven. The menu options wil

analyzing traffic; determine motion of flow; calculate tracklets; detect abnormalities;

Replacing a string - function strrep: The function strrep finds all the occurrences of a substring within the string, and substitutes them with a new substring. The order of a

Illustration of Sorting strings: To sort on the rows rather than second dimension should be specified. >> sort(words,2) ans = Hello Hdowy Hi Gbdeo

Replacing, Finding, and separating strings: There are numerous functions which find and replace the strings, or parts of strings, within the other strings and functions which