Azzera filtri
Azzera filtri

Use of Fmincon for stress relax data

5 visualizzazioni (ultimi 30 giorni)
DAVIDE MEULLI
DAVIDE MEULLI il 30 Mag 2024
Commentato: Mathieu NOE il 30 Mag 2024
I have to use "fmincon" to solve the optimization problem for the fitting of an "Stress Relaxation" curve. My aim is to define the coefficient of the Prony Series (gamma_i & tau_i).
The problem is that i don't know how to define my function and start the fitting in order to find e1,e2,e3 & tau1,tau2,tau3.
In Input i have the experimental data (stress relax) and time
fun= E0 * (1 - ( (e1*(1-exp(-t/tau1))) + (e2*(1-exp(-t/tau2))) + (e3*(1-exp(-t/tau3)))))

Risposte (1)

Torsten
Torsten il 30 Mag 2024
Modificato: Torsten il 30 Mag 2024
I suggest you read the examples for the different suitable solvers. They will show you exactly how to proceed for your case.
Maybe it's better to use a solver especially designed for parameter fitting than fmincon:
fitnlm, fit, lsqcurvefit from the curve-fitting toolbox or fminspleas from the file exchange.

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by