%% Vertically Concatenate Text
% Create three character arrays of different sizes. Use strvcat to vertically concatenate the text in the arrays.

str1 = 'First';
str2 = 'Second';
str3 = 'Third';
strvcat(str1,str2,str3)

% It is recommended to use char instead.

char(str1,str2,str3)

% Copyright 2020 The MathWorks, Inc.