photo

Monique


Last seen: 4 månader ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I get my code to output each output value with the different input values. error message is Out of memory. The likely cause is an infinite recursion within the program.
here is the code and what is in the command window: function f = swamee_jain_friction_factor(Re, epsilon_over_D) term1 = 5.7...

ungefär ett år ago | 1 answer | 0

1

answer

Question


I don't know how to fix this error within my code.
function f_sj = swamee_jain_friction_factor(Re_values, D, epsilon) % Given hydraulic diameter and absolute roughness D = 0.1; ...

ungefär ett år ago | 1 answer | 0

1

answer

Question


I am struggling with letter b and keep getting this as an error. Variable b must be of size [1 1]. It is currently of size [3 4]. Check where the variable is assigned a value.
Consider the array (row vector), matrix, and column vector below. A = [11.3 25.4 -58.6 66.2 82.8 37.9 41.5 3.6 60.7 14.2] B ...

nästan 2 år ago | 4 answers | 0

4

answers