Mercurial > hg > c4dm-chord-transcriptions
diff evaluationtools/cell2list.m @ 1:8973548174c1 tip
adding tools to repo
author | christopherh |
---|---|
date | Mon, 06 May 2013 14:43:47 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/evaluationtools/cell2list.m Mon May 06 14:43:47 2013 +0100 @@ -0,0 +1,15 @@ + +function list = cell2list(cells, separator) + +list = ''; + +if ~isempty(cells) + + list = cells{1}; + + for i = 2:length(cells) + + list = [list separator cells{i}]; + + end +end \ No newline at end of file