About 552,000 results
Open links in new tab
  1. string, " " - String array - MATLAB - MathWorks

    You can represent text in MATLAB ® using string arrays where each element of a string array stores a sequence of characters. The sequences can have different lengths without padding, …

  2. Create String Arrays - MATLAB & Simulink - MathWorks

    String arrays store pieces of text and provide a set of functions for working with text as data. You can index into, reshape, and concatenate strings arrays just as you can with arrays of any …

  3. strfind - Find strings within other strings - MATLAB - MathWorks

    strfind returns a scalar cell that contains a numeric array, which contains indices of occurrences of the substring ain in str. To access the numeric array within the cell, use curly braces.

  4. Characters and Strings - MATLAB & Simulink - MathWorks

    This example shows how to analyze text data with string arrays. It shows how to store, split, and sort text, and how to compute and collect statistics for text in a string array.

  5. Text in String and Character Arrays - MATLAB & Simulink

    There are two ways to represent text in MATLAB®. You can store text in string arrays and in character vectors. MATLAB displays strings with double quotes and character vectors with …

  6. strings - Create string array with no characters - MATLAB

    str = strings returns a string with no characters. For more information on string arrays, see string. You also can use double quotes. For example, str = "" creates a string scalar that contains no …

  7. append - Combine strings - MATLAB - MathWorks

    You can combine string arrays or cell arrays of character vectors, element by element. Also, you can append a single piece of text to the elements of an input array.

  8. Cell Arrays of Character Vectors - MATLAB & Simulink

    String arrays are supported throughout MATLAB® and MathWorks® products. Therefore it is recommended that you use string arrays instead of cell arrays of character vectors.

  9. strjoin - Join strings in array - MATLAB - MathWorks

    str = strjoin(C) constructs str by linking the elements of C with a space between consecutive elements. C can be a cell array of character vectors or a string array.

  10. convertStringsToChars - Convert string arrays to character arrays ...

    [B1,...,Bn] = convertStringsToChars(A1,...,An) converts any string arrays in A1,...,An to character vectors or cell arrays of character vectors, and then returns them as the corresponding output …