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

 채택된 답변

KSSV
KSSV 2018년 1월 29일

0 개 추천

wc(1).W1 = W(1).cells ;
wc(1).W2 = W(2).cells ;

댓글 수: 1

vaya putra
vaya putra 2018년 1월 29일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Decision Logic에 대해 자세히 알아보기

제품

태그

질문:

2018년 1월 29일

댓글:

2018년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by