interp 281
interp
Syntax
outpdm = interp(inpdm,stepsize,final {keywords})
outpdm = interp(inpdm,domspec, {keywords})
Parameter List
Inputs: inpdm Input pdm.
stepsize Increment in outpdm domain.
final Last value in outpdm domain. Optional: default =
max(domain(inpdm)).
domspec Regular vector or pdm used to specify the domain of out-
pdm.
Keywords: order Interpolation order. Values are:
0 zero order hold (default)
1 linear interpolation
Outputs: outpdm interpolated pdm
Description
m is interpolated to give outpdm. Two syntaxes are available for specifying the domain
of outpdm.
In the first the domain is,
[min(domain(inpdm)):final:stepsize].
If final is not specified max(domain(inpdm)) is used.
The second syntax is, domain(domspec) if domspec is a pdm or domspec if domspec is a
vector.