## How to do extrapolation

### Nasir Qazi (view profile)

on 28 Feb 2012

how to do a extrapolation in a graph in matlab ?

## Products

No products are associated with this question.

on 28 Feb 2012

Sean de Wolski

on 28 Feb 2012

It's a warning.

Sean de Wolski

### Sean de Wolski (view profile)

on 28 Feb 2012

And you didn't give us enough information to help anyway. Is it a polynomial, one dimensional etc?

I mean polyfit/polyval will allow you to extrapolate, but is that what you want? I have no idea.

John D'Errico

### John D'Errico (view profile)

on 28 Feb 2012

It is my absolutely favorite quote about mathematics, and one that does not seem to be too well known.

### Walter Roberson (view profile)

on 28 Feb 2012
```I thought for a few seconds. “I’ll give you an example. Here’s a sequence, and I want you to tell me the next number.”
“I’ll do my best.”
“1, 1, 2, 3, 5, 8, 13, 21, 34, 55,” I said.
He looked puzzled. “Don’t be silly. I just asked you that one. It’s the Fibonacci sequence.”
“Is it? Then what’s next?”
“Wrong. It’s 91.”
“But it looks just like the—”
```
```“You’re leaping to conclusions, Adam, based on previous prejudices. Most injudicious. Your sequence was the Fibonacci sequence, but the nth term in my sequence is the least integer not less than Öe n–2, where Öe = 2.71828, the base of natural logarithms. I want the 11th term, which is the least integer not less than Öe9, or 90.017. That’s 91.”
```