data fitting with custom equation
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
William Rose
el 27 de Jun. de 2021
0 votos
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 comentario
Somnath Kale
el 27 de Jun. de 2021
Categorías
Más información sobre Classical Control Design en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




