Problem 589. Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers770
Suggested Problems
-
2340 Solvers
-
Get the area codes from a list of phone numbers
1071 Solvers
-
Sum of first n terms of a harmonic progression
493 Solvers
-
Matrix with different incremental runs
575 Solvers
-
The Answer to Life, the Universe, and Everything
573 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!