16 lines
308 B
Matlab
16 lines
308 B
Matlab
x=1:33;
|
|
y=1:33;
|
|
x=[x,15,33];
|
|
y=[y,17,23];
|
|
scatter(x,y);
|
|
xlabel('存在坏数据的节点');
|
|
ylabel('辨识出坏数据的点');
|
|
hold on;
|
|
for I=1:33
|
|
% plot([1,1,1,1]-1+I,[[1:3]-2+I,I]);
|
|
plot([I,I],[0,I]);
|
|
end
|
|
% plot([1,1,1,1]-1+15,[1:3]-2+17);
|
|
% plot([1,1,1,1]-1+33,[1,2,12]-2+23);
|
|
plot([15,15],[0,17]);
|
|
plot([33,33],[0,23]); |