Hi Di,
yes, I would like to change the FIR filter while in operation. If I understand the a.m. article correctly I can easily "upload" the filter parameters from a file to /sys/bus/iio/devices/iio:device1/filter_fir_config provided by the driver. Now this config file is what I want to generate.
What I was thinking about was having an application on the target device that accepts (e.g. by user interaction or a config change) new RF parameters, e.g. frequency. I assumed that this would necessitate new filter parameters, and I wanted to calculate these on the fly. This is why I was asking for a translation of the MATLAB functions to C or similar.
It is not about auto-sensing or adapting to the environment automatically.
I hope I explained better what I want to achieve; if not please do not hesitate to ask me. Any hints are highly appreciated.
Best regards,
Ralf