Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
modelling in matlab of differential equation
조회 수: 2 (최근 30일)
이전 댓글 표시
Can someone pls tell me how to model this equation in matlab.
M*C_p*dt_a/dt = (Q-(m*(h_w-h_s))-(rho_w*V_w*(dh_w/dt)));
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269085/image.png)
Where M = 10
C_p = 385
Q = 2000
m_dot = 1
h_w = 104.86
h_s = 2707
rho_w = 1000
V_w = 10
댓글 수: 1
John D'Errico
2020년 1월 30일
A differential equation already is a model.
Do you want to model a model? So approximate the differneitial equation using one of the many techniques that exist to do so?
Seriously, I assume you want to solve it?
답변 (1개)
J Chen
2020년 1월 30일
편집: J Chen
2020년 1월 30일
you need an equation for dhw/dt, then use a matlab ode solver to solve the equations. see https://www.mathworks.com/help/matlab/ref/ode45.html
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!