gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-04/Ex0402.m
%例4-2 用MATLAB的内联函数创建多维数组 A = randn(4,3,2) B = repmat(5, [3 4 2]) C= repmat(5, [3 0 2])