Azzera filtri
Azzera filtri

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

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

Risposta accettata

Walter Roberson
Walter Roberson il 30 Ott 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 Commenti
KAPIL MAMTANI
KAPIL MAMTANI il 1 Nov 2015
Thank you very much Mr walter for all your help and guidance.
KAPIL MAMTANI
KAPIL MAMTANI il 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?

Accedi per commentare.

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by