function yhat=oxygen_fit_poly_beckman(beta,x)
%OXYGEN_FIT_POLY2_BECKMAN - dissolved oxygen calculation (2-d poly fit)
% 

%
% $Revision: 1.3 $
% $Date: 2008/04/09 14:34:29 $
% $Id: oxygen_fit_poly2_beckman.m,v 1.3 2008/04/09 14:34:29 duncombe Exp duncombe $
% 

%
b1=beta(1);
b2=beta(2);
b3=beta(3);
b4=beta(4);
b5=beta(5);
b6=beta(6);
b7=beta(7);
b8=beta(8);
x1=x(:,1);
x2=x(:,2);
x3=x(:,3);
x4=x(:,4);
x5=x(:,5);
x6=x(:,6);
x7=x(:,7);

yhat=((b1*(x1+(b8*x5)))+(b2)+(b6.*x7+b7.*x7.^2)).* ...
	exp(b4.*(x3+(b3*(x6-x3)))).*x2.*exp(b5.*x4);

return;

