who to replace a row in matrix ?
1 view (last 30 days)
Show older comments
how to replace a row of matrix with the vector extract from another matrix for example
A = [ 1 0 1 1 0 1
1 0 1 0 1 1
1 1 1 0 1 0 ]
B = [ 0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0 ]
and i want a function to move row from A to B but in the same position of row for example
- i want to move the first row in A and the function must Put it in First row in B
1 Comment
Answers (1)
See Also
Categories
Find more on Resizing and Reshaping Matrices 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!