MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today
Asked by Nasir Qazi on 28 Feb 2012

how to do a extrapolation in a graph in matlab ?

*No products are associated with this question.*

Answer by Sean de Wolski on 28 Feb 2012

Show 1 older comment

Sean de Wolski 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 on 28 Feb 2012

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

Answer by Walter Roberson 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?” “89,” Adam replied. “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.”

http://www.whydomath.org/Reading_Room_Material/ian_stewart/9505.html

## 0 Comments