idrepetition: Find the index for the repetition terms in a cell
Version 1.0.0.0 (1.24 KB) by
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'}';
Cite As
Renwen Lin (2023). 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. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Tables >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |