Clear Filters
Clear Filters

how to find indices of a vector within a matrix

1 view (last 30 days)
Hi, I have a vector that contains three values and I want to to locate their indices in a bigger matrix
thanks in advance.
  1 Comment
pfb
pfb on 27 Apr 2015
Not very clear.
Can the values in the first vector appear in the bigger matrix more than once? If this is the case, do you want all their instances, or just one for each?
Can you provide a minimal example?

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 27 Apr 2015
The documentation describes it better than I can.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!