Home > ctdcal > oxygen_fit_none.m

oxygen_fit_none

PURPOSE ^

Function to calculate the dissolved oxygen

SYNOPSIS ^

function yhat=oxygen_fit_none(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_none(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 x1=x(:,1);
0010 x2=x(:,2);
0011 x3=x(:,3);
0012 x4=x(:,4);
0013 yhat=((b1*(x1+b2))+(b3*exp(-0.03*x3))).*exp(b4.*x3).*x2.*exp(b5.*x4);

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