Filter löschen
Filter löschen

Values in code are not updating ? /Not getting desired output.

1 Ansicht (letzte 30 Tage)
I am trying to solve some couple ODE`s using runga-kutta 4th order NUmerical method,i am not getting desired result.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 30 Okt. 2015
How can you tell you are not getting the desired result? You are not saving the results of your calculation, except that your array named "temporary" will reflect the result of the last for loop iteration (as you overwrite it on every iteration.)
  14 Kommentare
KAPIL MAMTANI
KAPIL MAMTANI am 1 Nov. 2015
Thank you very much Mr walter for all your help and guidance.
KAPIL MAMTANI
KAPIL MAMTANI am 3 Nov. 2015
Hi, I have been running my code with different initial values for many runs but it is very rigorous work to find the optimum set of values.I want to check my code for varying input parameters/- Q(varying monthly),N(1),P(1),TIC(1). Also, I want to put a conditional statement for N/P and C/N in the code to change the formula as per scenario. Can you guide me in right direction?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by