Solve a differential equation using a For loop !
7 ビュー (過去 30 日間)
古いコメントを表示
Gents, I am trying to solve the following equations(dMB/dt, SB(j) ) , for each stage, in Matlab using a For loop:
dMB/dt = B(j) - B(j-1); % Mass flowrate of brine solution
SB(j) = (1-CB(j)*(0.011311 - 1.146e-05*TB(j)))*SD(j); % specific heat of brine
,where j represents a stage number (e.g. j = 1:N), N = 20(number of stages)
Notice that I have defined, (CB(j),TB(j),SD(j)), for all stages (N)
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!