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!