Hi, i was using the filterDesigner application of MATLAB to design a band-stop filter to filter a sound that i have.
But i camecross with a problem that when i was about to export it gives me SOS Matrix and Scale Values.
But i want Num and Den;
How can i find them ?

Réponses (1)

Star Strider
Star Strider le 7 Jan 2021

0 votes

You actually want the sos matrix and scaling factor, even if you do not realise it, since they create a stable filter when the transfer function notation (‘num’ and ‘den’) may not.
Go with the sos implementation.

5 commentaires

Batuhan Istanbullu
Batuhan Istanbullu le 7 Jan 2021
Thank you ^^
Do you know how i can get the signal from the matlab that i filtered with bandstop ?
I want to save that filtered sound to my computer to compare them.
Star Strider
Star Strider le 7 Jan 2021
My pleasure!
Do you know how i can get the signal from the matlab that i filtered with bandstop ?
Use the digital filter object as the first argument to the filtfilt function, with your signal as the second argument.
I want to save that filtered sound to my computer to compare them.’
There are several ways to do this, including audiowrite and save.
Batuhan Istanbullu
Batuhan Istanbullu le 7 Jan 2021
Thank you again, but i just used the save output command on it. Don't know where it saves it the saved auido file?
Batuhan Istanbullu
Batuhan Istanbullu le 7 Jan 2021
I must say that i want to save the filtered audio.wav to as wav again not the whole workspace
Star Strider
Star Strider le 8 Jan 2021
My pleasure!
The save function allows you to save only the variables you want. It is not necessary to save the entire workspace. Please review its documentation to understand how to use it.
To save it as a .wav file, use audiowrite.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by