data fitting with custom equation
显示 更早的评论
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
采纳的回答
更多回答(1 个)
William Rose
2021-6-27
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




