Get_Duplicate_array​_with_Index

To find the duplicate Values(String) in the Cell array List

You are now following this Submission

%%***********************************************************************************************
% Name : Get_Duplicate_array_with_Index
% Author : Pruthvi Raj G - KPIT_RNTBCI :: (9677066394 :: www.prudhvy.com )
% Version : Version 1.0 - 2011b Compactible
% Description : To find the duplicate Values(String) in the Cell array List.
% Input : Cell Array List
% Date : 08-April-2019
%**********************************************************************************************%%
[Duplicate_Names, Duplicate_Index] = Get_Duplicate_array_with_Index(Cell_Array_list)

Example :

>> Array = [{'raj'},{'krish'},{'raj'},{'king'}];
>> [Duplicate_Names, Duplicate_Index] = Get_Duplicate_array_with_Index(Array)

Duplicate_Names =

'raj'

Duplicate_Index =

[1x2 double] = 1 3

Cite As

Pruthvi G (2026). Get_Duplicate_array_with_Index (https://se.mathworks.com/matlabcentral/fileexchange/72083-get_duplicate_array_with_index), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2011b to R2019a

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0