|
> The question is, Is there anything I can do to give my breakdown a more
> realistic "shape"--even if I just end up connecting points with straight
> lines. (Sorry, I can't think of a better way of putting it). Basically,
> I'm assuming that, within each band, every integer band has the same
> value. But I don't really want to. My starting 'vals' will suggest a
> kind of shape which I'm not capturing. Does this make any sense?
I can't say that I completely understand this, but is this the kind of thing
you want?
xx = linspace(50,200);
plot(bands(2:end),vals,'b-',xx,pchip(bands(2:end),vals,xx),'r-')
-- Tom
|