Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

ExternalFunctions

Guides

  • Astronomy
  • Chemistry
  • External Functions
  • Machine Learning
  • Mathematics
  • Text Processing

Symbols

  • AcentricFactor
  • BirchClusterPredict
  • CaliforniaHousing
  • Degrees
  • DiscreteCosineTransform
  • DiscreteSineTransform
  • FashionPersonImageSynthesize
  • FastFourierTransform
  • ForestCoverTypes
  • InverseDiscreteCosineTransform
  • InverseDiscreteSineTransform
  • InverseFastFourierTransform
  • KeplerLightCurves
  • KhatriRaoProduct
  • KroghInterpolation
  • LeeKeslerOmega
  • LoadExternalFunction
  • MatrixBandwidth
  • NewtonCotes
  • OlivettiFaces
  • Radians
  • StielPolarFactor
  • TextWrap
  • UnicodeLookup
  • UnicodeName
ArnoudBuzing`ExternalFunctions`
KroghInterpolation
​
KroghInterpolation[x,y,xe]
Uses Krogh interpolation on
x
and
y
, and computes interpolation values at
xe
.
​
Examples  
(1)
Basic Examples  
(1)
Generate a set of x-values:
In[1]:=
x=Range[0.0,10.0,1.0]
Out[1]=
{0.,1.,2.,3.,4.,5.,6.,7.,8.,9.,10.}
Generate a set of y-values:
In[2]:=
y=Sin[x]
Out[2]=
{0.,0.841471,0.909297,0.14112,-0.756802,-0.958924,-0.279415,0.656987,0.989358,0.412118,-0.544021}
Compute the Krogh interpolation in the range 0 to 10 with steps of 0.1:
In[3]:=
ip=
KroghInterpolation
[x,y,Range[0.0,10.0,0.1]]
Out[3]=
{0.,0.0992744,0.197905,0.294757,0.388763,0.47892,0.564288,0.643996,0.717238,0.783281,0.841471,0.891231,0.93207,0.963587,0.985471,0.997507,0.999578,0.991663,0.973844,0.946297,0.909297,0.863214,0.808506,0.745719,0.67548,0.59849,0.515519,0.427395,0.334999,0.239255,0.14112,0.0415748,-0.0583852,-0.157761,-0.255559,-0.350802,-0.442538,-0.529851,-0.611869,-0.687772,-0.756802,-0.818271,-0.871564,-0.91615,-0.951583,-0.97751,-0.993671,-0.999906,-0.996152,-0.982446,-0.958924,-0.925822,-0.883469,-0.832288,-0.77279,-0.705568,-0.631294,-0.55071,-0.464621,-0.373887,-0.279415,-0.182151,-0.0830659,0.0168484,0.116593,0.215169,0.311592,0.404896,0.49415,0.578461,0.656987,0.728944,0.793615,0.850356,0.898602,0.937876,0.967788,0.988042,0.99844,0.998879,0.989358,0.969971,0.940908,0.902454,0.854985,0.798962,0.734929,0.663504,0.58538,0.501313,0.412118,0.31867,0.221892,0.122758,0.022291,-0.0784362,-0.178296,-0.276097,-0.370574,-0.460373,-0.544021}
Plot the resulting interpolated values::
In[4]:=
ListPlot[ip]
Out[4]=
SeeAlso
RelatedGuides
▪
External Functions
▪
Mathematics
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com