[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting equal rows in a character matrix
From: |
Andrei Bobrov |
Subject: |
Re: Counting equal rows in a character matrix |
Date: |
Wed, 5 Nov 2014 22:13:34 -0800 (PST) |
[a,~,c] = unique(y,'rows');out = [cellstr(a), num2cell(histc(c,1:max(c)))];
--
View this message in context:
http://octave.1599824.n4.nabble.com/Counting-equal-rows-in-a-character-matrix-tp4667227p4667231.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Counting equal rows in a character matrix,
Andrei Bobrov <=