?? at.m
字號:
function I = at(x,f)% AT Return element index corresponding to a frequency value.%% I = AT(X,F) Return element index I at frequency location F in frequency% object X.% $Id: at.m 3 2004-02-04 12:57:04Z mairas $if length(x.vec)>0 I = at(x.vec,f);else I = zeros(size(f)); for i=1:length(f) I(i) = mod(round(x.num/x.fs*f(i)),x.num)+1; endend
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -