Matlab 的reshape函數

轉自http://blog.sina.com.cn/s/blog_9444ed240101dxx3.html 看Matlab的help文檔講得不是清楚。 先給上一段代碼: >> a=[1 2 3;4 5 6;7 8 9;10 11 12]; >> b=reshape(a,2,6); 這段代碼的結果是這樣的: >> a      1     2     3      4     5     6  
相關文章
相關標籤/搜索