如何求积分方程上限?。

1 回表示 (過去 30 日間)
binejok
binejok 2022 年 11 月 21 日
回答済み: bowawak 2022 年 11 月 21 日
fff=@(x) [quadgk(@(x1) x1,0,x(1))-2;]
y=fsolve(fff,[0])
请问这个程序哪里错了?

採用された回答

bowawak
bowawak 2022 年 11 月 21 日
初值不合理,换一个较合理的即可
y=fsolve(fff,1)
另外,x 是一个标量自变量,所以,第一行没必要写成 x(1),直接写成 x 即可(但写成x(1)并没有错误)

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange数学 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!