Simulink can not work with islocalmax

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!

답변 (1개)

Shivam Gupta
Shivam Gupta 2019년 2월 8일

0 개 추천

Use PeakFinder Block to find maxima.
Screenshot (22).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.

질문:

2019년 1월 30일

답변:

2019년 2월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by