How to convert 'findpeaks' function using HDL coder?

3 次查看(过去 30 天)
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?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by