diff --git a/.gitattributes b/.gitattributes
index 822921f6becb96e7dadc2e00c871ebbe63c86c4f..d3c58f4a311ff723918269e26a2fecaa714946ee 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -948,6 +948,7 @@ MAC/Test/Station/bootstrap -text
 MAC/Test/Station/gold/prbs_dir_test.gold -text
 MAC/Test/Station/gold/rsp_version.gold -text
 MAC/Test/Station/gold/tbb_version.gold -text
+MAC/Test/Station/gold/xst.m -text
 MAC/Test/Station/gold/xst_160.gold -text
 MAC/Test/Station/gold/xst_200_even.gold -text
 MAC/Test/Station/gold/xst_200_odd.gold -text
diff --git a/MAC/Test/Station/gold/xst.m b/MAC/Test/Station/gold/xst.m
new file mode 100644
index 0000000000000000000000000000000000000000..c6eee9a60977e6c7f437c99d72c9b8137f093d44
--- /dev/null
+++ b/MAC/Test/Station/gold/xst.m
@@ -0,0 +1,29 @@
+%
+% Utility to examine XST data
+%
+
+%cd C:\svnroot\LOFAR\trunk\MAC\Test\Station\gold
+close all
+% golden XST data
+fid = fopen('xst_160.gold','r')
+data_gold = fread(fid,'double')
+fclose(fid)
+corr_gold = reshape(data_gold(1:2:end) + i * data_gold(2:2:end), [32,32])
+figure(1)
+imagesc(abs(corr_gold))
+colorbar
+figure(2)
+imagesc(angle(corr_gold))
+colorbar
+
+% new XST data
+fid = fopen('xst.dat','r')
+data = fread(fid,'double')
+fclose(fid)
+corr = reshape(data(1:2:end) + i * data(2:2:end), [32,32])
+figure(3)
+imagesc(abs(corr))
+colorbar
+figure(4)
+imagesc(angle(corr))
+colorbar