data fitting with custom equation
Afficher commentaires plus anciens
Hi
I am facing some issue in the data fitting with the equation. I tried but somehow I am not able manage it. I wanted to fit to my data
t = 1.00E-07 2.00E-07 5.00E-07 1.00E-06 2.00E-06 5.00E-06 1.00E-05 2.00E-05 5.00E-05 1.00E-04 2.00E-04 5.00E-04 1.00E-03 2.00E-03 5.00E-03
p(t) = 0.0824 0.1515 0.2339 0.3229 0.4505 0.6173 0.7434 0.822 0.9151 0.9795 0.982 0.9829 0.9861 0.9846 0.9856
with equation: (n =2)

if possible let me know the code also.
Thanks in advance
somnath
Réponse acceptée
Plus de réponses (1)
William Rose
le 27 Juin 2021
0 votes
What is the value of A?
Am I correct to understand that the variable of integration is log t0, and it varies from -Inf to +Inf? Make the substitution
Then
, and the integral can be written

which looks challenging but should be doable with integral(). But my initial attempt yields an error.
1 commentaire
Somnath Kale
le 27 Juin 2021
Catégories
En savoir plus sur Classical Control Design 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!




