Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
I am trying to solve some couple ODE`s using runga-kutta 4th order NUmerical method,i am not getting desired result.

Respuesta aceptada

Walter Roberson
Walter Roberson el 30 de Oct. de 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 comentarios
KAPIL MAMTANI
KAPIL MAMTANI el 1 de Nov. de 2015
Thank you very much Mr walter for all your help and guidance.
KAPIL MAMTANI
KAPIL MAMTANI el 3 de Nov. de 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?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by