get_tj

Gets scaled age at metamorphosis

Contents

Syntax

varargout = get_tj (p, f, tel_b, tau)

Description

Obtains scaled ages at metamorphosis, puberty, birth and the scaled lengths at these ages; Multiply the result with the somatic maintenance rate coefficient to arrive at unscaled ages. Metabolic acceleration occurs between birth and metamorphosis, see also get_ts. Notice j-p-b sequence in output, due to the name of the routine

Input

Output

Remarks

See get_tj_foetus in case of foetal development A previous version of get_tj had as optional 3rd input a 2-vector with scaled length, l, and scaled maturity, vH, for a juvenile that is now exposed to f, but previously at another f. Function get_tjm took over this use. If input f is scalar (so food is constant), l_j and l_p are solved via fzero, and numerical integration is avoided. if fzero fails, varying food it tried.

Example of use

get_tj([.5, .1, 0, .01, .05, .2])