interp
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Create an interpolated copy of the vector x.
- Usage
interp(x, n, type {, mv})
- x
- vector to be interpolated
- n
- length of the interpolated output vector; the interpolated vector can be shorter or longer than the original
- type
- the type of interpolation to perform; currently only linear interpolation (type=0) is supported.
- mv
- the value to use for 'missing values'. If mv is given, then interpolation is stopped when
x[i] = mv
. This means that the sections without missing values are individually interpolated. If mv is not supplied, the whole vector x is interpolated.