Search
 
SCRIPT & CODE EXAMPLE
 

MATLAB

find duplicates in matlab arrauy

A = [1 2 3 2 5 3]
[v, w] = unique( A, 'stable' );
duplicate_indices = setdiff( 1:numel(A), w )
Comment

PREVIOUS NEXT
Code Example
Matlab :: streamline matlab 
Matlab :: log base 10 matlab 
Matlab :: dat file in matlab 
Matlab :: matlab for loop syntax 
Matlab :: matlab plotting multiple lines on one graph 
Matlab :: matlab 1d matrix declarationg 
Matlab :: matlab find roots of symbolic polynomial 
Matlab :: how to print ceratin rows of dataframe 
Basic :: how to send basic auth using fetch 
Basic :: google sheets split column 
Basic :: split to arraylist vb.net 
Basic :: Loop inner fiter() 
Elixir :: elixir try catch 
Elixir :: elixir module 
Elixir :: .t() elixir 
Scala :: quantification scalaire 
Scala :: sum type scala 
Scala :: map function scala 
Excel :: google sheets select first n matches 
Excel :: or logic excel 
Perl :: read a file in perl 
Pascal :: pascal input 
Pascal :: pascal const 
Gdscript :: godot progrssbar set max value in code 
Abap :: abap char variable 
Assembly :: does assembly language use registers 
Assembly :: 2su.communications.syr.edu]2su.communications.syr.edu 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery add input placeholder 
Javascript :: p5.js cdn 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =