get_lb2
Obtains scaled length at birth, given the scaled reserve density at birth
Contents
Syntax
[lb info] = get_lb2 (p, eb, lb0)
Description
Obtains scaled length at birth, given the scaled reserve density at birth. Like get_lb, but using the shooting method, rather than Newton Raphson
Input
- p: 3-vector with parameters: g, k, v_H^b (see below)
- eb: optional scalar with scaled reserve density at birth (default eb = 1)
- lb0: optional scalar with initial estimate for scaled length at birth (default lb0: lb for k = 1)
Output
- lb: scalar with scaled length at birth
- info: indicator equals 1 if successful, 0 otherwise
Remarks
Like get_lb, but uses a shooting method in 1 variable