view 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 source
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