Feeds
提问
Why am I getting this error? Error using horzcat Dimensions of arrays being concatenated are not consistent. Error in flow1d2phase (line 59) subplot(3,1,2); plot([xSw_rf xt_shock max(xSw_all)], ...
close; clear; clc; %Reservoir properties %ENTER reservoir properties k = 300; poro = 0.2; A = 100; miuo = 1; miuw = ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Error using * Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use '.*'. Error in flow1d2phase (line 52) xS
close; clear; clc; %Reservoir properties %ENTER reservoir properties k = 300; poro = 0.2; A = 100; miuo = 1; miuw = ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Undefined function 'minus' for input arguments of type 'function_handle'. Error in flow1d2phase (line 46) Sw_shock = fzero(@(Sw)(dfw(Sw)-(fw(Sw0)-fw(Sw))./(Sw0-Sw)), 0.5);
close; clear; clc; %Reservoir properties %ENTER reservoir properties k = 300; poro = 0.2; A = 100; miuo = 1; miuw = ...
5 years 前 | 2 个回答 | 0