I have a matrix column with a number in each row, but they are not consecutive (per example, from 3 it jumps to 6). How can I turn them into a consecutive order?
MATLAB: I have a matrix column with a number in each row, but they are not consecutive (per example, from 3 it jumps to 6). How to turn them into a consecutive order
consecutivematrixorder
Related Question
- 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 flip every 5th row and column in matrix
- How to sort/Rearrange a matrix
- How to modify a matrix to change the entries >=0 and multiply it by 5 AND to change the entries <0 and add 2 to those entries
- Sort matrix to get the row and column position of sorted matrix
- How to creat two box plot in one graph use different data
Best Answer