interpolate large numbers [message #76477] |
Tue, 07 June 2011 14:35 |
ece
Messages: 12 Registered: June 2011
|
Junior Member |
|
|
Hi,
I have a problem. i want to interpolate linearly some large numbers
such as:
frequency L
6.28865e+14 8.2654538e+28
1.66951e+15 4.0936348e+28
1.75106e+15 3.9580807e+28
2.05175e+15 3.4878620e+28
2.31700e+15 3.0611352e+28
4.90883e+17 1.0399752e+25
1.47366e+18 1.2454723e+24
2.44933e+18 4.6650308e+23
First I created the interval for the interpolation :
range=maken(6.28865E+14,2.44933E+18,1000)
I used the interpol:
Lum=interpol(L,frequency,range)
But when I plot the result it does not look a linear interpolation,
there are gaps and curves between data points. Do you have a
suggestion?
My aim is to integrate this data points and get L. If I di it same way
in the alog10(freq) and alog10(L) values the intepolation looks nice,
but I couldn't figure out how to convert integral result in alog10
values to normal scale.
|
|
|