I have a 624×2 matrix of ordered pairs, of which there are some repeating rows that I must remove. Is there a way to remove these repeating rows without using the unique function? Maybe using a for loop? The reason I can't use the unique function is because when I implement this matlab script in Simulink's Matlab Function block, the matrix must be sorted first before using the unique function. I can't sort the matrix because I will lose my ordered pairs and sortrows doesn't solve the issue either because I get the same error from Simulink.
MATLAB: How to remove repeating rows without unique function
MATLABmatrixmatrix manipulationsimulink
Related Question
- How to remove repeating elments from a matrix
- Sort in ascending order for first column then descending order for the second column.
- Data filtering(Give a constraint to the length of each index )
- Unique Function based on 2 columns [Instead of rows]
- How I find rows with same elements but in flipped manner.
- Calculate mean of columns for a unique value of column variable
- I have a matrix A of size 523418*2, i want to delete repeating pair?? as i explained below. any help?
Best Answer