About 2,560,000 results
Open links in new tab
  1. char, ' ' - Character array - MATLAB - 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 a short piece of text as a row of characters in a character vector .

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

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

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

  6. Create String Arrays - MATLAB & Simulink - MathWorks

    As an alternative, you can convert a character vector to a string using the string function. chr is a 1-by-17 character vector. str is a 1-by-1 string that has the same text as the character vector.

  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. How to generate a vector of character values? - MATLAB Answers

    Oct 9, 2018 · I want to generate a vector A with all character values 1, 2, 3...N; For example, A=['1','2','3'...], N is changeable and can be defined beforehand. How can I do that?

  10. empty - Create empty array of specified class - MATLAB

    In MATLAB, an empty array is an array that has at least one dimension of size 0. An empty array has no elements. The empty method enables you to initialize arrays of a specific class. You …

Refresh