www.gusucode.com > 《matlab图像处理与界面编程宝典》秦襄培 编著,每章的MATLAB源代码程序 > 第5章/代码5-17.txt

    
>> A=[1,4,7,10;2,5,8,11;3,6,9,12]
>> B = reshape(A,2,6)
>> B = reshape(A,2,[])