MATLAB Answers

How to convert 'findpeaks' function using HDL coder?

1 view (last 30 days)
Stefano Francavilla
Stefano Francavilla on 19 Nov 2017
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!