Horje
find duplicates in matlab arrauy Code Example
find duplicates in matlab arrauy
A = [1 2 3 2 5 3]
[v, w] = unique( A, 'stable' );
duplicate_indices = setdiff( 1:numel(A), w )




Matlab

Related
matlab clear all Code Example matlab clear all Code Example
streamline matlab Code Example streamline matlab Code Example
find location of max value in array matlab Code Example find location of max value in array matlab Code Example
matlab parameter in title Code Example matlab parameter in title Code Example
matlab dot product Code Example matlab dot product Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12