How to sample and filter the waveform simulated in simulink with M file?
The principle formula of using this filter is: g (jw) =1(1+jwt), but you must adjust the size of t to match your signal frequency, otherwise you will achieve the expected effect. In addition, you can import your waveform data into the workspace in the form of an array on the last data input module, and then you can do it after you understand it. Contact me if you don't understand.