How to compute harmonic average on the blocks of an array?
1 view (last 30 days)
Show older comments
Nisar Ahmed on 17 Aug 2022
Commented: Nisar Ahmed on 18 Aug 2022
I have attached the data Mmin, I want to compute the harmonic average of first 4 values and then next 4 and so on. In short in the blocky form and each block is of 4 values.
Just like shown in the attached figure. after taking harmonic mean of first four values, there will be one value instead of four and so on.
Can someone help me to write it code?
David Hill on 17 Aug 2022
More Answers (0)
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!