1. FFT 插值 y = interpft(x,n) y = [0, .5, 1., 1.5, 2., 1.5, 1., .5, 0, -.5, -1, -1.5, -2., -1.5, -1., -.5, 0]; N = length(y); L = 5; % 插值因子,interpolation factor,即插值后数组的长度是原先数组长度的倍数: M = N*L; y_interp = interpft(y, M); plot(0:L:L*N-1, 'o', y, 0:M-1, y_i…