Relation between two vectors elements
Show older comments
Hi all,
suppose I have two vectors:
A = [1 2 3 4 5 6 7 8 9 10];
B = [4 7 8 2 1 10 3 5 9 6];
Ho can I say, the first element in B is the fourth element in A? In other workds, look at each element in B, what is its position/order/index in A? How can I establish a connection between both vectors' elements?
Thanks.
Accepted Answer
More Answers (1)
Geoff Hayes
on 30 Mar 2022
0 votes
Categories
Find more on Linear Algebra 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!