how to write this integration please
2 次查看(过去 30 天)
显示 更早的评论
Dear All, I attached an image with a formula that I need to write in matlab but I do not know the right syntax, x ranges from zero to infinity, how can I write this integration please?
2 个评论
madhan ravi
2018-10-19
Just try what you know and paste the code here to debug, seems to be an easy task.
采纳的回答
madhan ravi
2018-10-19
编辑:madhan ravi
2018-10-19
syms x %requires symbolic toolbox
fun=(0.00001*x.^4-0.0003*x.^3+0.0093*x.^2-0.0843*x+0.1721)*(0.154*exp(0.089*((x-9.911).^2)));
int(fun,x,2,50) %erfi constant arises because of exponential function
double(int(fun,x,2,50))
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!