Making a row vector from a nxn matrix
17 views (last 30 days)
Show older comments
I have a nxn matrix and I want to make n row vectors from that matrix.
For example, I have a Matrix
A = 3×3
1 2 3
4 5 6
7 8 9
From this, I want 3 matrices of order 1x3
B = [1 2 3]
C = [4 5 6]
D = [7 8 9]
I want this to be processed by Matlab itslef.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Preprocessing Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!