你需要A1和A2吗?
A3 = repmat(1:10 0 12 1) +转置(repmat (0:11,100 1));
或
A3 = bsxfun (@plus 0:11,转置(1:10 0));