https://github.com/ruqihuang/AdjointFmaps
Revision 702a3902f859cde5970deb97200347502ecb181a authored by ruqihuang on 24 July 2017, 21:09:41 UTC, committed by ruqihuang on 24 July 2017, 21:09:41 UTC
1 parent 6812206
Tip revision: 702a3902f859cde5970deb97200347502ecb181a authored by ruqihuang on 24 July 2017, 21:09:41 UTC
modify Change_of_basis_F9.m
modify Change_of_basis_F9.m
Tip revision: 702a390
annquery_demo.m
function annquery_demo()
%ANNQUERY_DEMO A demo to show how to search and plot with ANN Wrapper
%
% [ History ]
% - Created by Dahua Lin, on Aug 10, 2007
%
%% Prepare Data Points
ref_pts = rand(2, 300);
query_pts = rand(2, 100);
%% Do ANN query
k = 4;
nnidx = annquery(ref_pts, query_pts, 3);
%% Plot the results
anngplot(ref_pts, query_pts, nnidx);
axis([0 1 0 1]);
Computing file changes ...