growth
Exponential-trend predictions.
Syntax
Section titled “Syntax”v = growth(knownys, knownxs, newxs, const)Description
Section titled “Description”Fits an exponential regression y = b * m^x and returns predicted y values for newxs. With const = false, forces b = 1.
Example
Section titled “Example”growth([2 4 8 16], [1 2 3 4], [5 6]) % [32 64]