MATLAB: Limiting coeficients in fitting function.

coefficientcurve fittingfitfitoptionsfittype

I need to make one of coefficients in my model function stricte positive number to avoid complex results. Is there any possibility to limit my coefficient?

Best Answer

Square the coefficient in your model.
Best wishes
Torsten.
Related Question