Skip to content

growth

Exponential-trend predictions.

v = growth(knownys, knownxs, newxs, const)

Fits an exponential regression y = b * m^x and returns predicted y values for newxs. With const = false, forces b = 1.

growth([2 4 8 16], [1 2 3 4], [5 6]) % [32 64]
  • trend — Linear-trend predictions.
  • logest — Exponential regression coefficients.