I want to find the value of two constants from an equation with two variables

3 views (last 30 days)
Nidhi on 29 Jul 2021
Commented: Star Strider on 11 Aug 2021
I am trying to find the values of the constant elastic modulus (E1) and viscosity modulus (eta1) from the Kelvin creep recovery equation. The data points of strain and time needs to be exported from an excel file(given) and the value of constant stress is given as 6 nN.
The equation being used is: here sigma(0) is the constant stress(given) and epsilon is the variable strain(data points given)

Star Strider on 3 Aug 2021
@NDC
To estimate the initial parameters for this, since is known, the asymptote as will be , and that gives a way to estimate E. Here, is essentially a time constant, so if you can calculate the time at 0.6 times the asymptote (use interp1), you can estimate the initial value of η as well, having already calcualted E.
Use those as initial values with the code you already wrote.
.
Star Strider on 11 Aug 2021
As always, my pleasure!
.

darova on 3 Aug 2021
Try fit
Nidhi on 3 Aug 2021
@darova Hi. I have never previously used "fit" and am quite new to MATLAB. Can you kindly, please show me how I can implement "fit" in this case.