Signal detection using a general matched filter concept