Writing a Matrix 6x6 in one line
70 次查看(过去 30 天)
显示 更早的评论
Leonardo Barbosa Torres dos Santos
2019-4-4
评论: Leonardo Barbosa Torres dos Santos
2019-4-5
Dear,
I have a Matrix 6x6,, for example:
A = \begin{bmatrix}
1 & 2 & 3 & 4 & 5 & 6 \\
7 & 8 & 9 & 10 & 11 & 12\\
13 & 14 & 15 & 16 &17 & 18\\
19 & 20 &21 & 22 & 23 &24 \\
25& 26 & 27 & 28 &29 &30 \\
31& 32 & 33 & 34 & 35 & 36
\end{bmatrix}
I would like to write the matrix A6x6 in a line and 36 column, that is (1,36).
For example:
A = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36]
0 个评论
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!