diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirquery/mirplay.m	Tue Feb 10 15:05:51 2015 +0000
@@ -0,0 +1,14 @@
+function mirplay(q,varargin)
+
+rank = 1:length(q.name);
+if nargin>2 && strcmpi(varargin{1},'Sequence')
+    rank = intersect(rank,varargin{2});
+end
+disp(['Query: ',q.query.name{1}]);
+mirplay(q.query.name{1});
+disp('********')
+disp('Retrieval:')
+for i = rank
+    disp([num2str(i),'. ',q.name{i},' (dist = ',num2str(q.dist(i)),')']);
+    mirplay(q.name{i});
+end
\ No newline at end of file