Home > metabolic-economics > metabolic-economics-utils > cbaf3.m

cbaf3

PURPOSE ^

constraints for EBA and CBA

SYNOPSIS ^

function f = cbaf3(x,v_mean,v_std)

DESCRIPTION ^

 constraints for EBA and CBA
 f = cbaf3(x,v_mean,v_std)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function f = cbaf3(x,v_mean,v_std)
0002 
0003 % constraints for EBA and CBA
0004 % f = cbaf3(x,v_mean,v_std)
0005 
0006 ind = find(isfinite(v_mean));
0007 
0008 f = sum([[x(ind)-v_mean(ind)]./v_std(ind)].^2);

Generated on Fri 12-Feb-2016 20:18:22 by m2html © 2003