Borrar filtros
Borrar filtros

RMS of continous signal

5 visualizaciones (últimos 30 días)
Mohammad Wasi Ahmadi
Mohammad Wasi Ahmadi el 5 de Jul. de 2017
Comentada: Mohammad Wasi Ahmadi el 11 de Jul. de 2017
How can I calculate moving 3 sec RMS value of a continuous signal in Simulink?

Respuestas (1)

Akhilesh Mishra
Akhilesh Mishra el 11 de Jul. de 2017
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.
The documentation link for this block can be found in the following link- https://www.mathworks.com/help/dsp/ref/movingrms.html
  2 comentarios
Mohammad Wasi Ahmadi
Mohammad Wasi Ahmadi el 11 de Jul. de 2017
Editada: Mohammad Wasi Ahmadi el 11 de Jul. de 2017
I used the Moving RMS block but I get an error. saying that I need a signal specification block before the block
Mohammad Wasi Ahmadi
Mohammad Wasi Ahmadi el 11 de Jul. de 2017
the input signal is like this

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by