Indexing a column based on another column's values
Mostrar comentarios más antiguos
I am trying to create an index that marks all cells in a clloumn that are equal to the values of a shorter collumn. ie if column a=(1,3,44,6,8,9,15) and column b=(3, 8) i would get an index c=(2,5). Anyone know how to do this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!