chapter 9 Flashcards
+
used to combine/append elements/arrays, if var being added is of different dimensions then the dimensions are altered
blanks operator
adds spaces
join operator
combines strings together as array
strcat operator
horizontally links two arrays, if the class type of the inputs are different then it defaults to a string array
sprintf(formSpec, number)
returns string scalar
compose(formatSpec, number)
returns multiple pieces of formatted text as a string array and escape characters translate
lower(string)
converts string to all lower case
upper(string)
converts string to all upper case
num2str(numArray, precision#)
returns char vector specification with max numbers
mat2str(inputMat, precision#)
converts input matrix into character vector with max numbers
str2double(text)
converts text into double precision (68 bit) number array
str2num(input)
converts num into ascII number
*
separates format specs
sscanf(inputText, formatSpec)
converts text to array based on format specs, best for conversion
isstring(input)
returns 1 if input is string