I dont understand why the variable x is incorrect.
古いコメントを表示



Please explain to me what is wrong!
4 件のコメント
John D'Errico
2023 年 4 月 27 日
編集済み: John D'Errico
2023 年 4 月 27 日
It is so much easier to help you if you paste in the code itself, instead of a picture of your code. Why would you want to make it more difficult to get help?
Nam
2023 年 4 月 27 日
Walter Roberson
2023 年 4 月 27 日
Question:
What is the purpose of your syms x; line ?
Nam
2023 年 4 月 27 日
回答 (1 件)
Paul
2023 年 4 月 27 日
0 投票
Hi Nam,
What is the justification for the computation of r(1,:)?
If you're trying to find the extrema of J0, why use fsolve to find points where J0 = 0?
2 件のコメント
Nam
2023 年 4 月 27 日
Paul
2023 年 4 月 27 日
I'm afraid I can't be of much more help other than suggesting to reread:
the problem statement and figure out what the condition is for J0 to have an extremum, which will determine what needs to be solved using fsolve, and
reread item 4 to understand how to initialize the solution.
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!