findbin.m
来自「matlab下实现kaplan算法」· M 代码 · 共 9 行
M
9 行
function bin = findbin(N, rate, freq)% bin = findbin(N, rate, freq)% find the bin in an FFT corresponding to a given% frequency% N is the length of the data% the sampling rate (samples/sec) of the data% the desired frequency whose bin we want to knowbin = 1+ (freq*N/rate);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?