Simulink can not work with islocalmax
Show older comments
Hello,
i have vibrationsdata in my workspace which getting in a matlab function in simulink. This function includes the function islocalmax.
Simulink can not work with this. Is there any way to find maxima and minima from vibrationsdata in Simulink?
Thank you for help!
Answers (1)
Shivam Gupta
on 8 Feb 2019
0 votes
Use PeakFinder Block to find maxima.
.png)
- Input is constant block which contain vibration data
- Find Maxima Output the number of extrema (maxima and minima) in an input signal. This can also be customized to output maxima or minima indices.
- Display block captures the count and index.
Categories
Find more on Array and Matrix Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!