Info

この質問は閉じられています。 編集または回答するには再度開いてください。

solving an equatin... please help me

2 ビュー (過去 30 日間)
Hosin Lee
Hosin Lee 2019 年 5 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.
  2 件のコメント
darova
darova 2019 年 5 月 22 日
Did you try fsolve()?
Hosin Lee
Hosin Lee 2019 年 5 月 23 日
I can't understand the fsolve.
Can you code it for me please?

回答 (1 件)

darova
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)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by