numerical solution for heat equation
Show older comments
How can I plot temperature vs z if there is noting given about z?
The code that I write for it is,
inits='T1(0)=10,T2(0)=10,T3(0)=10';
>> [T1,T2,T3]=dsolve('DT1=-2*T1+T2+10','DT2=T3-2*T2+T1','DT3=90-2*T3+T2',inits)
1 Comment
Walter Roberson
on 15 Dec 2023
T(z,t>=0) implies that you have a PDE not an ODE. dsolve() cannot handle PDE.
Accepted Answer
More Answers (0)
Categories
Find more on Heat Transfer in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!