Function Octbank in Matlab

Respuestas (2)

Wayne King
Wayne King el 24 de En. de 2012

0 votos

Do you have fdesign.octave in your installation?
You can design both octave and 1/3 octave filters with fdesign.octave

3 comentarios

Alexander
Alexander el 24 de En. de 2012
Yes, I have. But I have a work function for the 1/3-octave filters (see link above), and I need function for octave filters for on the basis of this function.
Wayne King
Wayne King el 24 de En. de 2012
but fdesign.octave can handle both 1/3 and octave very easily.
Alexander
Alexander el 24 de En. de 2012
It's easy for you, but not for me :(. Could you remake function Oct3bank for me using fdesign.octave?

Iniciar sesión para comentar.

Wayne King
Wayne King el 24 de En. de 2012

0 votos

Alexander, I don't see how using fdesign.octave with an input argument 1 (for octave band) vs. 3 (for 1/3 octave band) is harder than asking somebody to rewrite an entire function.
This is a 1/3 octave band design.
d1 = fdesign.octave(3,'Class 1','N,F0',6,10000,48000);
Hd1 = design(d1);
fvtool(Hd1);
This is an octave band design.
d2 = fdesign.octave(1,'Class 1','N,F0',6,1000,48000);
Hd2 = design(d2);
fvtool(Hd2);

3 comentarios

Alexander
Alexander el 24 de En. de 2012
Wayne, I approximately understood how does work your function for octave filters, but i have one question: there are 17 octave filters in IEC 1260, but if i call following Matlab code
fm = 1000; % center freq
f = fdesign.octave(BandsPerOctave,'Class 1','N,F0',3,fm,65536);
fm = validfrequencies(f);
I get only 10 frequencies in fm variable. If you please can you tell me why it accuses?
Alexander
Alexander el 24 de En. de 2012
BandsPerOctave is equal 1
David Santos
David Santos el 6 de Nov. de 2012
Hi,
I'm using fdesign as Wayne suggest but the problem is that this function only reach to 20KHz and I need to be able to analyze also frequencies close to 50KHz. Anyone knows how to increase the bandwidth of fdesign or any other way of solving the problem?
All the best

Iniciar sesión para comentar.

Categorías

Más información sobre Measurements and Spatial Audio en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 24 de En. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by