I see you are trying to implement a Low Pass filter with a cutoff frequency of 20Hz so the above documentation would help you with what to put in numerator and denominator while implementing.
Kindly refer to this documentation on how to implement filters using Transfer functions.
Thanks for your answer!I mainly don't understand how to write a transfer function for a filter, not that the transfer function itself is that difficult
thank you, yes, I want to use a transfer function to write a filter, but I don't know what its mathematical formula is, all I have come into contact with is RC filter, but this formula is not related to resistance R and capacitor C, I am ignorant with it.
I understand you want to use transfer function to write a filter but you are stuck in the mathematical formulation of this. Could you provide the model details/implementation?