Get_Duplicate_array​_with_Index

版本 1.0.0 (9.3 KB) 作者: Pruthvi G
To find the duplicate Values(String) in the Cell array List
25.0 次下载
更新时间 2019/7/8

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2011b
兼容 R2011b 到 R2019a 的版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0