get the value of element from matrix
1 view (last 30 days)
Show older comments
Let's say: I have matrix A, B
A=[1 1 200; 2 2 2;9 9 9; 5 5 5; 3 3 355];%matrix 5x3
B=[9 9; 1 1; 3 3]%matrix 3x2
How can I call the result matrix somehow the value of two first column in matrix A is the same as in matrix B?
result=[9 9 9; 1 1 200; 3 3 355];
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!