How to assign the answer from the for loop to an other equation
1 view (last 30 days)
Show older comments
I want to create a equation with T_evapuration_1 and T_evaporation_2 . The value of and has to substitue to the equation of T_evapuration_1 U1 and U2. Should I use for loop ? Can you please help to slove this statement.Thank you
T_evaporation_i = T_s - Delta_T_1
U_i = 0.001*(2252.54+4.81748*T_evaporation_i)
0 Comments
Answers (1)
Daksh
on 20 Dec 2022
It is my understanding that you wish to iterate over 'i' which is the index or position in the list of temperatures for evaporation. You can use arrays with length set to size of dataset, and index array for position 'i' with the command "T_evaporation(i)". Use a for loop to iterate for all relevant values of 'i' and frame your mathematical equation for other variables as well.
Hope it helps!
0 Comments
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!