I am looking to fit Y ~ 1-exp{-[C1*(x/Xmax)^1+.......CN*(x/Xmax)^N]}. The order could be anywhere between 6 to 12 (max value of N). But before generating the fit, I need to estimate the coefficient using modified LSQ. I looked at the exponential fit (analyze fit Y-->X) and tried to enter a formulae but I do not want to directly fit the exponential curve, rather I want to estimate the best fit coefficients subect to some upper bound constraints due to the strictly monotically increasing nature of Y. . Essentially the closest I could find that represents my model is https://www.mathworks.com/help/optim/ug/lsqlin.html . Looks like a 2 step process with the LSQ s.t. linear constraints, followed by the actual exponential fit. Not sure if there is a 2 step or a straightshot approach for the fit for a given upper bound on the C1..CN.
Any pointers would be super helpful.
Thanks,