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