How do I smooth out the maximas and minimas of the following scope output in Simulink
4 views (last 30 days)
Show older comments
Aaron Connell
on 31 Jan 2017
Answered: Purushottama Rao
on 31 Jan 2017
I need know that I need to change the sample time through discretization to smooth out those peaks and I tried to use a power gui block to do it but it was ineffective. I would greatly appreciate any guidance
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160281/image.jpeg)
0 Comments
Accepted Answer
Purushottama Rao
on 31 Jan 2017
Matlab Function inherits the sampling time from the block connected to it. As the clock is connected as the input of the function block which does not have sampling time, output is not as expected. Add unity gain block as suggested in other post at the input of the function.
0 Comments
More Answers (0)
See Also
Categories
Find more on Sources 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!