temperature variation by time
2 ビュー (過去 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!