annotate 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
rev   line source
wolffd@0 1 function mirplay(q,varargin)
wolffd@0 2
wolffd@0 3 rank = 1:length(q.name);
wolffd@0 4 if nargin>2 && strcmpi(varargin{1},'Sequence')
wolffd@0 5 rank = intersect(rank,varargin{2});
wolffd@0 6 end
wolffd@0 7 disp(['Query: ',q.query.name{1}]);
wolffd@0 8 mirplay(q.query.name{1});
wolffd@0 9 disp('********')
wolffd@0 10 disp('Retrieval:')
wolffd@0 11 for i = rank
wolffd@0 12 disp([num2str(i),'. ',q.name{i},' (dist = ',num2str(q.dist(i)),')']);
wolffd@0 13 mirplay(q.name{i});
wolffd@0 14 end