📄 inband.m
字号:
function s = inband(powspec,firstbin,lastbin)% s = inband(powspec,firstbin,lastbin)% calculates the integral between first and last% powspec -- the left half on an fft% firstbin -- the lower index (not frequency, but bin number)% lastbin -- the upper index (not frequency, but bin number)foo = 1:length(powspec);gbins=find(foo >= firstbin & foo <= lastbin);goo=powspec(gbins);s = sum(goo);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -