Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
I have solved an ode using ode45. The solution is correct but when I try to use the solution on other functions the program only takes the initial conditions.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
My code is attached. It runs but the temperature plot is wrong. Can someone tell me how to fix this?
1 commentaire
Walter Roberson
le 26 Nov 2016
Undefined function or variable ao in
Aavg=@ (t,a) a(1)*A1+a(2)*A2+(ao(a))*A0; %Average planetary albedo
Reminder: we do not know what the temperature plot should look like, so it would help if you posted an example of what you are hoping for, or describe what difference you observe.
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!