Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am just a beginner and struggeling with experimental data and further processing in Mathematica:

  1. I first constructed a table from two columns (t20 and J20) in Excel:

    tabt20 = Table[{t20[[i]], J20[[i]]}, {i, 1, Length[t20]}];

  2. I interpolated those data:

    Intt20 = Interpolation[tabt20];

  3. I got now as Output:


I want now do further calculations on that Output -> I want to use that output written as J[t] for further calculations. How do I transform this Output to J[t] (how to assign [J and t to the abscissa and ordinate values of that implicit InterpolationFunction)?

share|improve this question

closed as too localized by Ajasja, Silvia, Sjoerd C. de Vries, Artes, m_goldberg Apr 30 '13 at 4:29

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Intt20[(* some number *)] should give an interpolated value. –  J. M. Apr 29 '13 at 14:49
Look in the help next time: reference.wolfram.com/mathematica/ref/… –  Ajasja Apr 29 '13 at 16:16

1 Answer 1

For Example:

(Let's define some data*)
t20 = Range@10; 
J20 = RandomReal[{0, 1}, 10];

tabt20 = Transpose[{t20, J20}]; (*better than your Table[] !*)

Intt20 = Interpolation[tabt20]; (*Interpolate*)

Intt20[3.3] (*calc it at some point *)

Plot[Intt20[x], {x, 1, 10}] (* plot it *)

enter image description here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.