MATLAB經常使用函數

1.size函數 size(X,1),返回矩陣X的行數; size(X,2),返回矩陣X的列數; N=size(X,2),就是把矩陣X的列數賦值給N 2.reshape a=[ide 1  2函數 3  4]spa 若是使用b=reshape(a,1,4).net 則獲得的結果是blog b=[1 3 2 4]ip 若是想獲得get b=[1 2 3 4]it 須要使用io b=reshape(a
相關文章
相關標籤/搜索