function yhat=oxygen_fit_linearp_beckman(beta,x)
%OXYGEN_FIT_LINEARP_BECKMAN - dissolved oxygen calculation (linear
% 	fit, pressure dep) for Beckman sensor

%
% $Revision: 1.4 $
% $Date: 2008/04/09 14:33:47 $
% $Id: oxygen_fit_linearp_beckman.m,v 1.4 2008/04/09 14:33:47 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+(b7*x5)))+(b2)+(b6*x7)+(b8*x4)).* ...
	exp(b3.*(x3+(b4*(x6-x3)))).*x2.*exp(b5.*x4);

return;

