How to do extrapolation

4 views (last 30 days)
Nasir Qazi
Nasir Qazi on 28 Feb 2012
how to do a extrapolation in a graph in matlab ?

Answers (2)

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

Sign in to comment.


Walter Roberson
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.”
Ill 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. Its 91.
But it looks just like the—”
Youre 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.”

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!