Signal processing specially adapted for physiological signals or for diagnostic purposes