From: Cameron Filmer on
Right so, where to begin. Basically, I've created a program to predict the temperature profile through a space shuttle tile on re-entry, in 1D. While, at first, I took the specific heat capacity of the tile as a constant, I've now learned that the spec heat capacity varies with varying temperature. I'm not a whiz at Matlab and was wondering if anyone could help. I have a table of temperature and spec heat capacity, which basically means that between various temperatures, the spec heat capacity is a certain value. How do I code this?
The simplest thing I can think of is using if statements, but I have a feeling it wont work. :(
From: dpb on
Cameron Filmer wrote:
> Right so, where to begin. Basically, I've created a program to predict
> the temperature profile through a space shuttle tile on re-entry, in 1D.
> While, at first, I took the specific heat capacity of the tile as a
> constant, I've now learned that the spec heat capacity varies with
> varying temperature. I'm not a whiz at Matlab and was wondering if
> anyone could help. I have a table of temperature and spec heat capacity,
> which basically means that between various temperatures, the spec heat
> capacity is a certain value. How do I code this?
> The simplest thing I can think of is using if statements, but I have a
> feeling it wont work. :(

doc interp1

--