function [f, X, peaks, locs] = plotFFT( t, x, p ). Fs = 1 / mean(abs(t(2:end) - t(1:end-1)));. %n = 2^nextpow2(length(x));. n = length(x);.
確定! 回上一頁