function t2=transfix(t1);
% assume reduction factor due to biofouling is given
% by the trend (normalized by the first point of the trend)
x=1:length(t1);
p=polyfit(x',t1,2);
y=polyval(p,x');   %2nd degree polynomial
t2=t1*y(1).*(ones(y)./y);
