Info
此问题已关闭。 请重新打开它进行编辑或回答。
solving an equatin... please help me
2 次查看(过去 30 天)
显示 更早的评论
Pd = @(u)quadl(@(w)f(u,w), Yb, 1000*Yb)
I want to know the value of u when Pd is 0.8. How do I write the code??
Please help me.... Yb is 6.
回答(1 个)
darova
2019-5-23
Also you can try fzero()
f = @(a,x) sin(a*x)./x;
F = @(a) integral(@(x)f(a,x),0,7)-0.8;
% a = fsolve(F,2); % didn't work
a = fzero(F,2);
F(a)
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!