temperature variation by time
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, i m new on matlab. i have an algorithm, i want to put this in matlab to generate a graph, but i dont know how to write the code ( a picture of algorithm is attached)
these are values of parameters : U=220; Un= 230; Pn=2000; densitate =1; c= 837; V = 12; tf = 180; t0=20; teta0=20;
i did something like this :
U=220; Un= 230; Pn=2000; densitate =1; calduraSpecifica= 837; volum = 12; tf = 180; t0=20; teta0=20;
t= t0;
teta = teta0;
while U>Un
K=(U/Un)^2*Pn/(densitate*volum*calduraSpecifica);
while t<tf
t= t+deltat;
teta=K*t+teta0;
end
U=U+deltat;
end
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!