146 reputation
14
bio website
location Wisconsin
age
visits member for 3 years, 5 months
seen Oct 9 at 20:01

Sep
23
awarded  Notable Question
Mar
20
comment Without seeing the lightning, can you tell how far away it struck by how the thunder sounds?
In addition to the air attenuating the high frequencies, there may be another effect -- the angle. As the lightning gets farther away, the angle to the normal to the earth increases. Low frequencies may bounce off the earth or propogate through things like trees and buildings, but high frequencies will die as soon as they hit something.
Aug
15
awarded  Supporter
Sep
14
awarded  Popular Question
Jun
28
comment LED Thermal Modeling (How to solve heat equation with constant heat source)
@night owl The entire script is the function. I "call" it by hitting F5 in Matlab, or call it from the command prompt. As I said in my other message, this is just my habit in order to avoid mixing workspace variables with those used in the script. For the purposes of this post, a function is not necessary.
Jun
25
comment LED Thermal Modeling (How to solve heat equation with constant heat source)
@David It looks like someone commented out the function declaration without removing the return statement. I tend to put all my Matlab scripts in functions as a habit -- this way I don't depend on variables that might exist in the workspace, but which I forgot about after removing their initialization in my script. If I need to debug, I'll just set a breakpoint at a suitable place in the script. But it's true, the function line isn't needed, and your fix should make it run again.
Jul
25
awarded  Student
May
26
revised LED Thermal Modeling (How to solve heat equation with constant heat source)
Added missing Q_i for heat source.
May
26
revised LED Thermal Modeling (How to solve heat equation with constant heat source)
Added 1-D solution with Matlab code, and clarified the question for 2-D.
May
26
awarded  Editor
May
26
comment LED Thermal Modeling (How to solve heat equation with constant heat source)
I edited my question to (hopefully) clarify what I'm asking. I expect to need to solve the problem numerically, but I'm not sure how to formulate the problem to do so. I realize the time term vanishes as t goes to infinity, but I would like to include it if possible.
May
26
revised LED Thermal Modeling (How to solve heat equation with constant heat source)
added 1046 characters in body
May
25
asked LED Thermal Modeling (How to solve heat equation with constant heat source)