About 3,420,000 results
Open links in new tab
  1. char, ' ' - Character array - MATLAB - MathWorks

    C = char(A1,...,An) converts the arrays A1,...,An into a single character array. After conversion to characters, the input arrays become rows in C. The char function pads rows with blank spaces …

  2. Characters and Strings - MATLAB & Simulink - MathWorks

    A character array is a sequence of characters, just as a numeric array is a sequence of numbers. A typical use is to store short pieces of text as character vectors, such as c = 'Hello World'.

  3. 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 …

  4. Create String Arrays - MATLAB & Simulink - MathWorks

    Create String Arrays from Variables. MATLAB® provides string arrays to store pieces of text. Each element of a string array contains a 1-by-n sequence of characters. You can create a …

  5. Cell Arrays of Character Vectors - MATLAB & Simulink

    To create a cell array of character vectors, use curly braces, {}, just as you would to create any cell array. For example, use a cell array of character vectors to store a list of names.

  6. blanks - Create character array of blanks - MATLAB - MathWorks

    Create an array of five blanks. To display it, embed it in a character array that starts and ends with a visible character.

  7. 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 …

  8. convertCharsToStrings - Convert character arrays to string arrays ...

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

  9. Creating Matrices and Arrays - MATLAB & Simulink

    This example shows basic techniques for creating arrays and matrices using MATLAB. Matrices and arrays are the fundamental representation of information and data in MATLAB. To create …

  10. 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, …

Refresh