Making Process Again With New Values
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Volkan Yangin
el 5 de Dic. de 2015
Comentada: Volkan Yangin
el 6 de Dic. de 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.
0 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Dic. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Power and Energy Systems en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!