Main Content
hdl.interpn
Syntax
Description
returns the interpolated values of a function of Vq
= hdl.interpn(X1,X2,...,Xn
,V
,Xq1,Xq2,...,Xqn
)n
variables at a
specific query point using linear interpolation and linear extrapolation.
X1,X2,...,Xn
contain the coordinates of the sample points in each
dimension. V
contains the corresponding function values at each sample
point. Xq1,Xq2,...,Xqn
contain the coordinates of the query point.
also specifies Vq
= hdl.interpn(X1,X2,...,Xn
,V
,Xq1,Xq2,...,Xqn
,interpolation
,extrapolation
)interpolation
and extrapolation
approximation methods.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2024b
See Also
tablelookup
(Simscape) | interpn
| rand
| rng
| About Lookup Table Blocks