MATLAB Answers

How to operate on each column seperately

1 view (last 30 days)
Hi, I have a n*m matrix and I need to calculate the RMS value over each column separately. How can I do this without using 'for'? Thanks

Accepted Answer

Guillaume on 8 May 2018
is all that is needed. mean operates on columns by default.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!