Making Process Again With New Values

1 回表示 (過去 30 日間)
Volkan Yangin
Volkan Yangin 2015 年 12 月 5 日
コメント済み: Volkan Yangin 2015 年 12 月 6 日
Hi everbody.
I have fuel-economy codes and the end of the program, new transmission ratios calculated. I have to calculate new power values etc. with using these new transmission ratios. How can i make the all the process with the new tr. ratios? I don't want to write same codes for this operation.
Thanks.

採用された回答

Walter Roberson
Walter Roberson 2015 年 12 月 6 日
Put all the calculations in a function. Call it once with the original value and get results. Calculate new values from that and call the function again with the updated values and get the results from that. Repeat as often as desired.
  1 件のコメント
Volkan Yangin
Volkan Yangin 2015 年 12 月 6 日
Thank , Walter Roberson.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by