yq = makima(x, y, xq)
pp = makima(x, y)
| Parameter | Description |
|---|---|
| x | Sample points. |
| y | Sample values. |
| xq | Query points. |
| Parameter | Description |
|---|---|
| yq | Interpolated values. |
| pp | Piecewise polynomial structure. |
makima is a convenience function for one-dimensional modified Akima interpolation.
With two inputs, it returns a piecewise polynomial structure evaluable with ppval.
x = [0 1 2.5 3.6 5 7 8.1 10];
y = cos(x);
yq = makima(x, y, 0:0.25:10)
| Version | Description |
|---|---|
| 2.0.0 | initial version |