The description of this problem is not very clear. It's really asking for the first and last row for each unique value in the first column.
"However there will be more than one row index and that makes this question challenging." - that really explains nothing to me
3238 Solvers
Back to basics 19 - character types
225 Solvers
Matrix indexing with two vectors of indices
485 Solvers
573 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!