I dont understand why the variable x is incorrect.
Afficher commentaires plus anciens



Please explain to me what is wrong!
4 commentaires
John D'Errico
le 27 Avr 2023
Modifié(e) : John D'Errico
le 27 Avr 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
le 27 Avr 2023
Walter Roberson
le 27 Avr 2023
Question:
What is the purpose of your syms x; line ?
Nam
le 27 Avr 2023
Réponses (1)
Paul
le 27 Avr 2023
0 votes
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 commentaires
Nam
le 27 Avr 2023
Paul
le 27 Avr 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.
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!