Signal processing and pattern recognition