Home > ctdcal > oxygen_fit_exp.m

oxygen_fit_exp

PURPOSE ^

Function to calculate the dissolved oxygen

SYNOPSIS ^

function yhat=oxygen_fit_exp(beta,x)

DESCRIPTION ^

 Function to calculate the dissolved oxygen

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function yhat=oxygen_fit_exp(beta,x)
0002 % Function to calculate the dissolved oxygen
0003 %
0004 b1=beta(1);
0005 b2=beta(2);
0006 b3=beta(3);
0007 b4=beta(4);
0008 b5=beta(5);
0009 b6=beta(6);
0010 b7=beta(7);
0011 x1=x(:,1);
0012 x2=x(:,2);
0013 x3=x(:,3);
0014 x4=x(:,4);
0015 x5=x(:,5);
0016 yhat=((b1*(x1+b2))+(b3*exp(-0.03*x3))+b6*exp(b7*x5)).*exp(b4.*x3).*x2.*exp(b5.*x4);

Generated on Fri 08-Oct-2004 11:57:17 by m2html © 2003