MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

chrTrim =


'AAAAA'


Expand Character Arrays


Generally, MathWorks does not recommend expanding the size of an existing character
array by assigning additional characters to indices beyond the bounds of the array such
that part of the array becomes padded with zeros.


See Also


char | deblank | strcat | string | strjust | strtrim


Related Examples



  • “Represent Text with Character and String Arrays” on page 6-2

  • “Search and Replace Text” on page 6-54

  • “Compare Text” on page 6-47

  • “Formatting Text” on page 6-36


See Also
Free download pdf