How to convert 'findpeaks' function using HDL coder?

2 views (last 30 days)
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)

Community Treasure Hunt

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

Start Hunting!