how to check weather the values are fluctuating to a certain period of time, if so then change it into constant value (0 or 1).
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1061635/image.png)
In the above image the values are fluctuating between between 0 and 1 between the time interval of 180 to 200
the values remain constant for less than 2 seconds before it switches again
i want check weather the values are fluctuating less than 2 seconds and if so then converting it into constant value (1)
all this should be done in a simulink model
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Weather and Atmospheric Science 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!