www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ReplicateCellArrayIntoBlockArrayExample.m
%% Repeat Cell Array % Create a cell array containing a string and numeric values. % Copyright 2015 The MathWorks, Inc. A = {'Values'; 10; 105} %% % Create a 3-by-2 arrangement of copies of |A|. B = repmat(A,[3 2])