The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Linear extrapolation
Replies: 5   Last Post: May 15, 2014 2:39 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Barry Williams

Posts: 312
Registered: 6/14/06
Re: Linear extrapolation
Posted: May 15, 2014 2:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <> wrote in message <ll2phs$6h3$>...
> On 5/15/2014 10:28 AM, Paulo Oliveira wrote:
> > Hi Steve,
> > I try your idea, but I have only matrix with this values, How can obtain
> > the vector to calculate the extrapolation values in interp1.
> >
> > Thanks for your attention.

> Gotta' make 'em would then presume lacking anything for the
> others, 1:N for the length N would be a good start...
> --

Paulo, I think what Steve and dpb are trying to tell you is that no one here is going to be able to offer you much help without additional information about the data in your matrix or array. Is there an underlying function? How noisy are the data? If there is an underlying function and the data are not too noisy, then you may be better off to use a function like polyfit, robustfit, or nlinfit and extrapolating that way. If you truly want or need to use interp1, then good luck. It may work if the data are fairly monotonic and the interpolated points aren't too far from the measured data.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.