call vector in matrix with condition?
1 view (last 30 days)
Show older comments
Let's say:
A=[1 2 3 10;4 5 6 15;7 8 9 20]
A=
1 2 3 10
4 5 6 15
7 8 9 20
B=[5 6 15;8 9 20]
B=
5 6 15
8 9 20
I want to call array C from A & B. How can?
C=[4;7]
2 Comments
Guillaume
on 21 Mar 2018
What does call array C from A & B actually mean?
You need to explain why C is 2x1 and not some other size, and where the 4 and 7 are derived from A and B.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!