www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ConcatenateTwoCellArrayswithScalarCellArrayExample.m
%% Concatenate Two Cell Arrays with Scalar Cell Array %% firstnames = {'Abraham'; 'George'}; lastnames = {'Lincoln'; 'Washington'}; names = strcat(lastnames, {', '}, firstnames)