Dynamic array for string
Mostrar comentarios más antiguos
D = 0.067;
Ugs = [0.047,0.061,0.288,0.344,0.404,0.544,0.709,0.945,1.418,1.891,2.363,2.836,4.727];
Uls = ones(1,13)*0.047;
L = 6.0000;
g = 9.81;
% Um=zeros(Ugs.size);
Um = Ugs + Uls;
Le = 42.6 * D *((Um/((g*D)^0.5))+0.29);
for i = 1:13
if L < Le:13
flow='churn'
else
if L >= Le:13
flow='slug'
arrow(i,:) = flow;
end
end
end
Ugs = Ugs.';
Le = Le.';
Um = Um.';
flow = flow.';
Uls = Uls.';
P = plot(Le,Um)
T = table(Uls,Ugs,Le,Um,arrow)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Detection en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!