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

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.
Answers (1)
Tim McBrayer
on 12 Jan 2015
0 votes
You'll need to analyze the time sequence yourself, computing the discrete derivative and looking for it to either become zero or reverse sign.
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!