Message Boards Message Boards

0
|
3481 Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Linear interpolation error

I have two set of data for pressure and energy density and I used a linear interpolation to apply the data as a function in terms of each other.

 Interpolation[Most@Transpose[{Pressure, EnergyDensity}], 
   InterpolationOrder -> 1];
fromEnergyToPressure = 
  Interpolation[Most@Transpose[{EnergyDensity, Pressure}], 
   InterpolationOrder -> 1]; 

Then for some cases, I faced the error below.

InterpolatingFunction::dprec: The precision of input value {3.60289*10^16} and/or the interpolation grid is insufficient to compute the value.

Could you please help me that how I can solve this problem.

POSTED BY: Davood Rafiei
4 Replies

Welcome to Wolfram Community!
Please make sure you know the rules: https://wolfr.am/READ-1ST
Please next time link your post to the duplicated one from MSE site.

POSTED BY: Moderation Team
Posted 3 years ago

Crossposted here.

POSTED BY: Rohit Namjoshi

Is there any problem that I also posted my question on another site?

POSTED BY: Davood Rafiei

No, there is no problem. But mentioning that same question was asked somewhere else helps the members here to check what answers and suggestions you already got before trying to help you. This also prevents redundant answers and wasted efforts.

POSTED BY: Ahmed Elbanna
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract