test.m
371 Bytes
ping_attack = csvread("ping_attack.csv");
rssi_attack = csvread("rssi_attack.csv");
ping_norm = csvread("ping_norm.csv");
rssi_norm = csvread("rssi_norm.csv");
attack_data = [ping_attack rssi_attack(:,2)];
normal_data = [ping_norm rssi_norm(:,2)];
plot(attack_data(:,3)*-1,'r',normal_data(:,3)*-1,'g');
xlabel("échantillon");
ylabel("RSSI (dBm)");
title("DATASET PING")