How does this Runge-Kutta 4th Order code work?

The following is a line from a code that I was given representing the dynamics of a fish: [x,Added_Forces] = Runge_Kutta('Motion_Fish',ssize,x,Tail_Forces,Moments_Add,Delta_r)

1 件のコメント

Jan
Jan 2017 年 3 月 24 日
Do you see that the code is not readable? Are you not interested in the readability of your question? I cannot reconsider, why so many question ignore the methods to format code .

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2017 年 3 月 24 日

0 投票

Sorry for this trivial answer, but did you read this already:
doc feval
? It explaines this function exhaustively and I do not think that I can explain it better. But in short: It evaluates the first argument as a function.
As fas as I understand your explanations "for clarity" are correct. But my estimation has a limited power, because the code is hard to read and large.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2017 年 3 月 24 日

編集済み:

2017 年 3 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by