I am generating a noisy sinusoid using the SIN and WGN functions. Next I design a band pass IIR Butterworth filter using FDATOOL. I export the SOS and G variables to workspace. I convert these to a transfer function using SOS2TF and apply this filter on the signal using the FILTER command.
I see the output has a huge spike. I am wondering what went wrong.
Best Answer