I am a new MATLAB user and I need to find four co-efficients of an equation which calculates the core losses in an electric motor.
I have already plotted the measured data on a graph and need to use these results to define an equation for this graph.
The equation for the core loss:
From the measured results I have plotted the values of Pfe(Bm) for different values of f, but I need the values for a, b, e and x.
Using the equation:
I can calculate the minimum value for the error, E by means of a nonlinear regression analysis, where Pfei is my measured value and Pfei* is my estimated value (in which case I would probably 'guess' the initial values of the co-efficients).
How do I use the fminsearch
function to calculate the minimum error value, and consequently calculate the values of the above mentioned co-efficients?