MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Linear Interpolation problems

  • To: mathgroup at
  • Subject: [mg102359] Linear Interpolation problems
  • From: kosal lee <leekosal at>
  • Date: Thu, 6 Aug 2009 06:33:49 -0400 (EDT)


I am new to Mathematica. Please help me with linear interpolation problems. Thank you for your help. 

First, suppose I have two real values 

year               earnings
x = 3              f(x) =   20
x= 10             f(x) =   50

I want to have the interpolated values of f(4), f(5), to f(9) which is between actual values of f(3) and f(10). How can I do that with Mathematica?

Second, suppose I have an excel spreadsheet having those above values for multiples firms as of the following

firm      f(3)       f(10)
A          20        50
B          30        55
C          60        25

I want to have the values of f(4) till f(9) as above and are stored in excel spreadsheet as of the following:

firm      f(3)     f(4)    f(5)  ...    (f9)      f(10)
A          20                                            50
B          30                                            55
C          60                                            25  

Best Regards,


  • Prev by Date: Re: error with Sum and Infinity
  • Next by Date: Re: Manipulate
  • Previous by thread: Re: Re: List of position-specifying functions
  • Next by thread: Re: Linear Interpolation problems