目标:查询目标点附近的10个最近邻邻居. load fisheriris x = meas(:,:); figure(); g1=gscatter(x(:,),x(:,),species); %species分类中是有三个分类:setosa,versicolor,virginica legend('Location','best') newpoint = [ 1.45]; line(newpoint(),newpoint(),'marker','x','color','k',... ,) Mdl…