File Exchange

image thumbnail

idrepetition: Find the index for the repetition terms in a cell

version 1.0 (1.24 KB) by

Find the index for the repetition terms in a cell % [ids a] = idrepetition(A) % linrenwen@gmail.co

0 Downloads

Updated

View License

% [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'}';

Comments and Ratings (0)

MATLAB Release
MATLAB 7.13 (R2011b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video