⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 outlier_test.m

📁 Spatial Outlier Detection Algorithm by Matlab
💻 M
字号:
our = data;
for k=1:m
   our(k,2)=data(k,2)-nei(k,2);
end;

figure;
hold on;
plot(our(:,1),our(:,2),'ro','LineWidth',2,...
                'MarkerEdgeColor','k',...
                'MarkerFaceColor','g',...
                'MarkerSize',6);
plot(our(1,1),our(1,2),'ro','LineWidth',2,...
                'MarkerEdgeColor','k',...
                'MarkerFaceColor','r',...
                'MarkerSize',6);
plot(our(m,1),our(m,2),'ro','LineWidth',2,...
                'MarkerEdgeColor','k',...
                'MarkerFaceColor','r',...
                'MarkerSize',6);

title('Outliers Detected Using Spatial Test','fontsize',22);
xlabel('Location','fontsize',20);
ylabel('Statistical Test S(x)','fontsize',20);
text(4.8,3.4,'S \rightarrow','FontSize',14);
hold off;
%print -djpeg90 our3.jpg

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -