Hello! I want to fit data to a function with two intervals but identical parameters. How can I do that, without fixing the parameter values in the second interval?
let's say for example
y = P1 + P2*x ; for 0 < x < x1 and Y = P1 * exp(P2*x) ; for x < x1
1. how can I define a function like this? 2. how can I get origin to fit on this function?