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

조회 수: 1 (최근 30일)
KAPIL MAMTANI
KAPIL MAMTANI 2015년 10월 30일
댓글: KAPIL MAMTANI 2015년 11월 3일
I am trying to solve some couple ODE`s using runga-kutta 4th order NUmerical method,i am not getting desired result.

채택된 답변

Walter Roberson
Walter Roberson 2015년 10월 30일
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
KAPIL MAMTANI
KAPIL MAMTANI 2015년 11월 1일
Thank you very much Mr walter for all your help and guidance.
KAPIL MAMTANI
KAPIL MAMTANI 2015년 11월 3일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by