Logarithmically space a vector
12 ビュー (過去 30 日間)
古いコメントを表示
I am trying to logarithmically space out these center frequnecies. I am unsure how I would do that. At first I though to use logspace instead of linspace but logspace uses base 10. So if I switched it the range would actually be 10^50 to 10^8000 which I do not want. Should I just recaculate what log values are closest to these numbers or is there a better way? Thank you for your time!
numFilts=32;
CenterFreqs = linspace(50, 8000, numFilts);
CF1 = CenterFreqs - BW/2; %Lower cutoff frequency
CF2 = CenterFreqs + BW/2; %Upper cutoff frequency
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!