Skip to content

Slight Speed Increase

Speeded up the code slightly (0.2s to be exact) by changing the peak detection routine.  This new one has come from a PDF entitled “Writing Fast Matlab Code” by Pascal Getreuer in 2006.  Below are a local copy of the PDF and the profiles of the slower and faster code.

Writing Fast Matlab Code PDF
Slower Peak Detection Profile

Faster Peak Detection Profile

Post a Comment

Your email is never published nor shared. Required fields are marked *