I dont understand why the variable x is incorrect.
Mostrar comentarios más antiguos



Please explain to me what is wrong!
4 comentarios
John D'Errico
el 27 de Abr. de 2023
Editada: John D'Errico
el 27 de Abr. de 2023
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
el 27 de Abr. de 2023
Walter Roberson
el 27 de Abr. de 2023
Question:
What is the purpose of your syms x; line ?
Nam
el 27 de Abr. de 2023
Respuestas (1)
Paul
el 27 de Abr. de 2023
0 votos
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 comentarios
Nam
el 27 de Abr. de 2023
Paul
el 27 de Abr. de 2023
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.
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!