I have M = [1 2 3 6 7 8]; and x = [3 7 8]; And I want to get indices [3 5 6], so M(indices) = x;
MATLAB: How to get subset indices
indicessubset
Related Question
- How to alter a row of numbers based on when the number changes
- Is it possible to extract the values with a vector of indices for each row without using the for statement from the matrix
- How to delete elements on specific indices
- All index values expect certain indices
- How to find subsets of different matrices
- How to return column index in matrix
- Zscore array subset
Best Answer