How to do a Multivariable Polynomial Fit with a known Structure

I have a bunch of data I would like to fit with a polynomial in order to model the current to force curve of a reluctance actuator. For simplicity I want the following structure: F(i,gap) = A*i^2 / (gap + B)^2. I was trying to use the polyfitn function, but I cannot seem to get it to work with the constant term dependence in the denominator. Any suggestions on how to do a least squares fit for this structure of polynomial?
Nick

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by