Daniel@0: function out = peaks(in, hw) Daniel@0: Daniel@0: % this shall be the great peak picking algo. Daniel@0: % 1. lowpass Daniel@0: % 2. hillvalley Daniel@0: % 3. plateaus Daniel@0: % 4. filter Daniel@0: Daniel@0: Daniel@0: