How to convert 'findpeaks' function using HDL coder?

Hi, I need to find local maxima and their positions in a vector. The function 'findpeaks' is not supported for hdl code generation, so I tried to implement by myself, but without success. Moreover, I need to use the 'minpeakdistance' and the 'minpeakheight' properties of 'findpeaks'. Any suggestion?

Answers (0)

Asked:

on 19 Nov 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!