Design of bandpass filter with Yulewalk
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
George Lazaridis
il 28 Mar 2014
Risposto: George Lazaridis
il 28 Mar 2014
Hello, i am trying to implement the filter attached in the picture but i cannot get the correct result (as seen in the other picture) as the Yulewalk function does not accept negative magnitudes. Can someone please help me?


0 Commenti
Risposta accettata
Wayne King
il 28 Mar 2014
yulewalk() accepts magnitudes so you cannot use negative values. However, it looks like you have specifications in dB so small positive values (magnitudes) end up as negative values. You just need to convert the dB values to magnitudes.
Use db2mag() to convert your dB values to magnitudes and then use those as input to yulewalk()
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Digital Filter Design in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!