get_lp
Get scaled length at puberty
Contents
Syntax
[lp, lb, info] = get_lp (p, f, lb0)
Description
Obtains scaled length at puberty at constant food density. If scaled length at birth (second input) is not specified, it is computed (using automatic initial estimate); If it is specified, however, is it just copied to the (second) output. Food density is assumed to be constant. scaled length at puberty is obtained ny integrating over time with even detection
Input
- p: 5-vector with parameters: g, k, l_T, v_H^b, v_H^p
- f: optional scalar with scaled functional responses (default 1)
- lb0: optional scalar with scaled length at birth
or optional 2-vector with scaled length, l, and scaled maturity, vH
for a juvenile that is now exposed to f, but previously at another f
lb0 should be specified for foetal developmentOutput
- lp: scalar with scaled length at puberty
- lb: scalar with scaled length at birth
- info: indicator equals 1 if successful, 0 otherwise
Remarks
Similar to get_lp1, which uses root finding, rather than integration. Obsolate function; use get_lp1 for faster and more accurate results. Function get_lp_foetus does the same, but then for foetal development.
Example of use
get_lp([.5, .1, .1, .01, .2])