Mercurial > hg > camir-aes2014
comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirquery/mirplay.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function mirplay(q,varargin) | |
2 | |
3 rank = 1:length(q.name); | |
4 if nargin>2 && strcmpi(varargin{1},'Sequence') | |
5 rank = intersect(rank,varargin{2}); | |
6 end | |
7 disp(['Query: ',q.query.name{1}]); | |
8 mirplay(q.query.name{1}); | |
9 disp('********') | |
10 disp('Retrieval:') | |
11 for i = rank | |
12 disp([num2str(i),'. ',q.name{i},' (dist = ',num2str(q.dist(i)),')']); | |
13 mirplay(q.name{i}); | |
14 end |