how to calculate rms of fluctuation velocity

6 visualizaciones (últimos 30 días)
Ernest Adisi
Ernest Adisi el 14 de Ag. de 2018
Comentada: Star Strider el 14 de Ag. de 2018
I have an m*n*a matrix of my fluctuation velocity where a is the number of imported files which gives me a time series of velocity points. I want to calculate the rms of this m*n*a matrix but im not sure of: 1. how to calculate the rms in matlab 2. what the correct format of the result will be i.e singualr value, column vector, or matrix
does anyone have some guidance or help please?

Respuesta aceptada

Star Strider
Star Strider el 14 de Ag. de 2018
You can use the rms (link) function in the Signal Processing Toolbox. Note that it has a second ‘dimension’ argument, so you can specify the dimension of your matrix that you want to calculate over.
If the input to the function is a vector, the output will be a scalar. If the input is a matrix, the output will be a vector.
  2 comentarios
Ernest Adisi
Ernest Adisi el 14 de Ag. de 2018
brilliant, thanks
Star Strider
Star Strider el 14 de Ag. de 2018
As always, my pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by