function yhat=oxygen_fit_linear(beta,x)
%OXYGEN_FIT_LINEAR - dissolved oxygen calculation (linear fit)

% $Revision: 1.5 $
% $Date: 2008/02/18 19:38:49 $
% $Id: oxygen_fit_linear.m,v 1.5 2008/02/18 19:38:49 duncombe Exp duncombe $

%
b1=beta(1);
b2=beta(2);
b3=beta(3);
b4=beta(4);
b5=beta(5);
b6=beta(6);
x1=x(:,1);
x2=x(:,2);
x3=x(:,3);
x4=x(:,4);
x5=x(:,5);
yhat=((b1*(x1+b2))+(b3*exp(-0.03*x3))+(b6*x5)).*exp(b4.*x3).*x2.*exp(b5.*x4);
