Clear Filters
Clear Filters

how to calculate rms of fluctuation velocity

4 views (last 30 days)
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?

Accepted Answer

Star Strider
Star Strider on 14 Aug 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!