MATLAB - MATLAB Function Reference Data Types Numeric...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
MATLAB Function Reference Data Types Numeric Characters and Strings Structures Cell Arrays Data Type Conversion Determine Data Type Numeric [ ] Array constructor cat Concatenate arrays class Return object's class name (e.g., numeric) find Find indices and values of nonzero array elements ipermute Inverse permute dimensions of multidimensional array isa Detect object of given class (e.g., numeric) isequal Determine if arrays are numerically equal isequalwithequalnan s Test for equality, treating NaN s as equal isnumeric Determine if item is numeric array isreal Determine if all array elements are real numbers permute Rearrange dimensions of multidimensional array reshape Reshape array squeeze Remove singleton dimensions from array zeros Create array of all zeros Characters and Strings Description of Strings in MATLAB strings Describes MATLAB string handling Creating and Manipulating Strings blanks Create string of blanks char Create character array (string) cellstr Create cell array of strings from character array datestr Convert to date string format deblank Strip trailing blanks from the end of string lower Convert string to lower case sprintf Write formatted data to string sscanf Read string under format control strcat String concatenation strjust Justify character array strread Read formatted data from string strrep String search and replace strvcat Vertical concatenation of strings upper Convert string to upper case Comparing and Searching Strings
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
class Return object's class name (e.g., char) findstr Find string within another, longer string isa Detect object of given class (e.g., char) iscellstr Determine if item is cell array of strings ischar Determine if item is character array isletter Detect array elements that are letters of the alphabet isspace Detect elements that are ASCII white spaces regexp Match regular expression regexpi Match regular expression, ignoring case regexprep Replace string using regular expression strcmp Compare strings strcmpi Compare strings, ignoring case strfind Find one string within another strmatch Find possible matches for string strncmp Compare first n characters of strings strncmpi Compare first n characters of strings, ignoring case strtok First token in string Evaluating String Expressions eval Execute string containing MATLAB expression evalc Evaluate MATLAB expression with capture evalin Execute string containing MATLAB expression in workspace Structures cell2struct Cell array to structure array conversion class Return object's class name (e.g., struct) deal Deal inputs to outputs fieldnames Field names of structure isa Detect object of given class (e.g., struct) isequal Determine if arrays are numerically equal isfield Determine if item is structure array field isstruct Determine if item is structure array orderfields Order fields of a structure array rmfield Remove structure fields struct Create structure array struct2cell Structure to cell array conversion Cell Arrays { } Construct cell array
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/21/2011 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.

Page1 / 37

MATLAB - MATLAB Function Reference Data Types Numeric...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online