idrepetition: Find the index for the repetition terms in a cell
版本 1.0.0.0 (1.2 KB) 作者:
Renwen Lin
Find the index for the repetition terms in a cell
% [ids a] = idrepetition(A) % linrenwen@gmail.co
% [ids a] = idrepetition(A)
% linrenwen@gmail.com
% Example
% A = ['1' '2'
% '1' '3'
% '4' '3'];
% [ids a] = idrepetition(A)
% ==>
% ids{1} = {1 2}
% ids{2} = {4}
% ids{1} = {5 6}
% ids{1} = {3}
% a = {'1' '2' '3' '4'}';
引用格式
Renwen Lin (2024). idrepetition: Find the index for the repetition terms in a cell (https://www.mathworks.com/matlabcentral/fileexchange/37094-idrepetition-find-the-index-for-the-repetition-terms-in-a-cell), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2011b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Language Fundamentals > Data Types > Tables >
在 Help Center 和 MATLAB Answers 中查找有关 Tables 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |