From: Madhu on
Hello,

I have a measured force signal obtained from input of a displacement signal to a spring on a testrig.

Now : Force = stiffness * displacement signal + offset value.

I know the offset value and need to get the stiffness from the above equation. I intend to set it up as a optmization problem. The objective function will be as follows:

What is the value of "stiffness" for which the vector (Measured Force-Calculated Force) has the lowest mean value to lowest RMS.

I am trying to understand how to setup this optmization problem in MATLAB.

Thanks for all the help.

Madhu