Unrecognized function or variable 'X0'.
이전 댓글 표시
when i run the command it says "Unrecognized function or variable 'X0'." I need help. Thank you
[X, FVAL]= FSOLVE(@mintafun,X0,options),
댓글 수: 4
Dyuman Joshi
2023년 5월 26일
You need to define x0 and options outside of the ODE function.
And the function is fsolve in lower case. Also, there are multiple typos in your code (bracket misplaced, multiplication or division sign missing, etc) check out for them.
Bismark
2023년 5월 26일
Stephen23
2023년 5월 26일
"x0 =[10, 4 6 , etc] in the code"
x0 is not the same as X0
Bismark
2023년 5월 26일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Windows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!