![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177380/image.jpeg)
RMS of continous signal
4 次查看(过去 30 天)
显示 更早的评论
How can I calculate moving 3 sec RMS value of a continuous signal in Simulink?
0 个评论
回答(1 个)
Akhilesh Mishra
2017-7-11
The moving RMS can be taken using the Moving RMS block. The Solver setting for the model has to be set as 'Fixed-step' with Fixed-step size set.
Please refer to the snapshot attached below for an example. The sample time is 0.01, and a Moving RMS block is used to calculate the RMS of the sine wave for 3s.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177380/image.jpeg)
The documentation link for this block can be found in the following link- https://www.mathworks.com/help/dsp/ref/movingrms.html
2 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!