Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 如何在 MATLAB 中将矩阵的行连接成向量?
如何将 MxN 矩阵转换为列,即代替使用
B = A ( : )
?
你试过什么?
B = reshape(A, [], 1);