From 4a63914c1dee42ed5c3421a3e3bb93c3bb5b32e4 Mon Sep 17 00:00:00 2001 From: bma Date: Fri, 9 Feb 2018 08:37:45 +0100 Subject: [PATCH] add relative ad option --- allanplot.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allanplot.m b/allanplot.m index 0e5fc7e..2752726 100755 --- a/allanplot.m +++ b/allanplot.m @@ -16,7 +16,7 @@ if length(col) == length(mult) printf(strcat(filename, ' col', num2str(col(i)), ' drift removed\n\n')) data.freq = detrend(data.freq); elseif eval(argv(){4})(i) == 2 - printf(strcat(filename, ' col', num2str(col(i)), ' relative ad\n\n')) + printf(strcat(filename, ' col', num2str(col(i)), ' relative ad : mean=', num2str(mean(data.freq)), '\n\n')) data.freq = data.freq./mean(data.freq); elseif eval(argv(){4})(i) == 3 printf(strcat(filename, ' col', num2str(col(i)), ' drift removed relative ad\n\n')) -- 2.16.4