There are various ways. The following is an example.
L = "I";
M = "Dislike";
N = "Eggs";
V = sprintf("%s %s %s",L,M,N)
Please see following URL as details.
Or
L = 'I';
M = 'Dislike';
N = 'Eggs';
V = [L,' ',M,' ',N]
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!