y = interpft(x, ny)
y = interpft(x, ny, dim)
| Parameter | Description |
|---|---|
| x | a vector or matrix of samples of a periodic function. |
| ny | the number of output samples (at least the number of input samples). |
| dim | the dimension along which to interpolate. |
| Parameter | Description |
|---|---|
| y | the resampled data. |
y = interpft(x, ny) resamples x to ny equally spaced points using the Fourier transform, assuming x is periodic.
y = interpft([1 2 3 4], 8)
| Version | Description |
|---|---|
| 2.0.0 | initial version |