How to find local maxima and its location in real time using simulink ( HDL convertable)

6 次查看(过去 30 天)
The fixed point values are samples at a freuency of 250 HZ. I have tried findpeaks( predefined matlab function ) but this is not HDL convertible.

回答(1 个)

Tim McBrayer
Tim McBrayer 2015-1-12
You'll need to analyze the time sequence yourself, computing the discrete derivative and looking for it to either become zero or reverse sign.

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by