How can I detect if a filter is FIR or IIR according to impulse response graph?
If a filter is FIR then the impulse response is finite and goes to zero and stays there. This is like the second filter in your post. If it is IIR the impule response extends towards infinity like the first image in your post