I imported a list of data using
k = SemanticImport["Desktop/k_CARBON_eV.txt"]
And then I wanted to interpolate the data using:
kinter = Interpolation[k];
I imported a list of data using
k = SemanticImport["Desktop/k_CARBON_eV.txt"]
And then I wanted to interpolate the data using:
kinter = Interpolation[k];
k is a dataset, which has head Dataset. Interpolation wants a list, typically a list of data pairs. To covert k to such, use Normal.
k = Dataset[{{5.88, .39}, {5.83, .41}, {5.73, .48}, {5.75, .58}}];
kinter = Interpolation[k // Normal];
Plot[kinter[x], Join[{x}, kinter["Domain"][[1]]]]
ListInterpolation– zhk Jun 26 '17 at 00:55Datasetto an array, maybeValues /@ Normal@k. But you should really post code people can use to check solutions. – Michael E2 Jun 26 '17 at 01:05"Table"or"Data"couple of times, have you tried? – Kuba Jun 26 '17 at 06:19