How to determine if a signal in Simulink is within upper and lower limit bounds over a specified number of samples?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sonoma Rich
el 24 de Jun. de 2021
Comentada: Sonoma Rich
el 26 de Jun. de 2021
I want to monitor a signal in Simulink and output a boolean when the signal is within specified upper and lower limits for a specified number of samples. This is something similar to the Interval Test block, but for a given number of samples.
0 comentarios
Respuesta aceptada
Paul
el 26 de Jun. de 2021
Editada: Paul
el 26 de Jun. de 2021
I'm going to assume that the signal in question is already sampled. Here's one approach. There are others.
Input the signal to a Tapped Delay block, which will output the moving vector of samples. Be mindful of the Initial Condition parameter.
Más respuestas (0)
Ver también
Categorías
Más información sobre Outputs en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!