Get_Duplicate_array​_with_Index

Version 1.0.0 (9,27 KB) von Pruthvi G
To find the duplicate Values(String) in the Cell array List
25 Downloads
Aktualisiert 8 Jul 2019

Lizenz anzeigen

%%***********************************************************************************************
% 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

Zitieren als

Pruthvi G (2024). Get_Duplicate_array_with_Index (https://www.mathworks.com/matlabcentral/fileexchange/72083-get_duplicate_array_with_index), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011b
Kompatibel mit R2011b bis R2019a
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Cell Arrays finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0