1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: 2d steady state conduction matlab help

  1. Nov 16, 2011 #1
    1. The problem statement, all variables and given/known data

    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

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted