⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fftfreq.m

📁 hi i have a huge collection are you interested
💻 M
字号:
function f = fftfreq(fNyq,Npts)%FFTFREQ To produce a two-sided frequency vector for use with an FFT.%%       f = FFTFREQ(fNyq,Npts) fNyq is the Nyquist frequency (half the%       sampling frequency) and Npts is the number of points of the%       associated FFT.  The frequency%       extends from -fNyq to fNyq. E.g. try:%%       plot(fftfreq(1,N),abs(fftshift(fft(1:N))))%%       for N odd and N even.%                                   Andrew Knight, June 1991f = ( -floor(Npts/2) + ((1:Npts)-1) )*2*fNyq/Npts;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -