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 comments
Loading...
Problem Recent Solvers775
Suggested Problems
-
30145 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2540 Solvers
-
Getting the row and column location from a matrix
299 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13717 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!