- #1
matlabnoob
- 1
- 0
Homework Statement
Hey guys, I am doing a steady state 2d heat conduction problem which is a 1mx1m cavity with three different wall temperatures on the 4 different walls.
I am using the principle of superposition to work this out.
What I want to do is plot a heat map on matlab.
I have a basic knowledge of MATLAB but the problem is I have three variables x,y and n in the series summation.
This means that i need to know a temperature value for every value of (x,y) between 0 and 1, at intervals of say 0.01 and for every value of (x,y) i need to work out the summation to an n value of approx 50 (when the change becomes negligible).
Is the best way to do this on MATLAB using for loops and outputting each answer to a matrix?
Thanks in advance