how to change the standard octave bands in poctave function

1 次查看(过去 30 天)
I am using pocave function to calculate intergral spectra for pressure signal over octave bands. The standard octave bands are (44-88,88-177,177-355,355-710,710-1420,1420-2840,2840-5680) wih center fequency (63,125,250,500,1000,2000,4000). I want to change the standard octave bands set in poctave function to the following bands (50-100,100-200,200-400,400-800,800-1600,1600-3200,3200-6400) with center frequency (75,150,300,600,1200,2400,4800). I have to check poctave function file but could not figure out which lines responsible for specifying the octave bands.

采纳的回答

zein
zein 2020-8-27
This is a function in Matlab called power band for calculating average power spectra over user specified frequency range
function website
p = bandpower(x,fs,freqrange)
where x is time input series,fs is sampling freq. and freqrange is vector [lower freq limit upper freq limit]

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Octave 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by