Be the first to rate this file! 8 Downloads (last 30 days) File Size: 1.24 KB File ID: #37094

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

by

 

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

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us