load test1noattack.txt
load test1attack.txt
z0 = test1noattack(:,1) + i*test1noattack(:,2);
z1 = test1attack(:,1) + i*test1attack(:,2);

z0cal=calibrateradar(z0); % make it zeromean and identity variance
z1cal=calibrateradar(z1,z0); % use z0 as reference since z1 has attack outliers

subplot(221)
plot(z0cal);
title('test1 clutter')
axis([-6 6 -6 6]); axis('equal'); grid

subplot(222)
plot(z1cal);
title('test1 target')
axis([-6 6 -6 6]); axis('equal'); grid

ZZ0=tfmann(z0cal,500,500,1);
subplot(223)
tvfortf(ZZ0)

ZZ1=tfmann(z1cal,500,500,1);
subplot(224)
tvfortf(ZZ1)

