Azzera filtri
Azzera filtri

Simulink can not work with islocalmax

1 visualizzazione (ultimi 30 giorni)
Silvio Risse
Silvio Risse il 30 Gen 2019
Risposto: Shivam Gupta il 8 Feb 2019
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!

Risposte (1)

Shivam Gupta
Shivam Gupta il 8 Feb 2019
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.

Community Treasure Hunt

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

Start Hunting!

Translated by