Borrar filtros
Borrar filtros

How to make loop ?

1 visualización (últimos 30 días)
vaya putra
vaya putra el 29 de En. de 2018
Comentada: vaya putra el 29 de En. de 2018
I have the script below:
wc = W(1).cells; % connection grid cells
WI = W(1).WI;
dz = W(1).dZ;
I want to calculate that 2 equations become one struct or array.
wc = W(1).cells;
and
wc = W(2).cells

Respuesta aceptada

KSSV
KSSV el 29 de En. de 2018
wc(1).W1 = W(1).cells ;
wc(1).W2 = W(2).cells ;
  1 comentario
vaya putra
vaya putra el 29 de En. de 2018
if i got this equation (wc);
q_conn = @(p,T, bhp) ... WI .* (rho(p(wc),T(wc))./mu(p(wc),T(wc))) .* (p_conn(bhp,bhT)-p(wc));
how to change (wc) because in wc have 2 value or i have to make 2 equation q_conn1 and q_conn2?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by