get_tul
Gets scaled age, reserve and length at birth
Contents
Syntax
[p, uE0, info] = get_tul (par, eb, lb0)
Description
Obtains the scaled age, reserve and length at birth.
Input
- par: 3-vector with
1 g % energy investment ratio
2 k % ratio of maturity and somatic maintenance rate coefficients
3 vHb % scaled maturity at birth
(g^2 k_M^3/ v^2) M_H^b/ (1 - kap) {J_EAm})- eb: optional scalar with scaled reserve density at birth (default: eb = 1)
- lb0: optional scalar with initial estimate for scaled length at birth (default: exact value for maintenance ratio 1)
Output
- p: 3-vector with tau_b, u_E^b, l_b
- uE0: scalar with u_E^0 = (g^2 k_M^3/ v^2) M_E^0/ {J_EAm}
- info: scalar with value 1 if successful, 0 otherwise
Remarks
Function get_tul_i is similar, but the second input represents the initial values for scaled maturity, reserve, length.
Example of use
See mydata_ue0