Effacer les filtres
Effacer les filtres

Making Process Again With New Values

1 vue (au cours des 30 derniers jours)
Volkan Yangin
Volkan Yangin le 5 Déc 2015
Commenté : Volkan Yangin le 6 Déc 2015
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Déc 2015
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 commentaire
Volkan Yangin
Volkan Yangin le 6 Déc 2015
Thank , Walter Roberson.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Power and Energy Systems dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by