How to find the average of mean square error?

2 views (last 30 days)
MSE(1,:) = 22.5759 21.8615
Hi, lets say MSE(1,:) = 22.5759 21.8615, the result is a 1x2 matrix. I have run this simulation for 1000 times to get the 1000 MSE from MSE(1,:) to MSE(1000,:).
How to code such that I can find the average of the 1000 obtained result for first column and second column respectively?

Accepted Answer

Adam Danz
Adam Danz on 8 Jun 2020
Edited: Adam Danz on 8 Jun 2020
Where dim is the dimensions you're averaging over and A is your matrix of data. See the link for more info and examples.

More Answers (0)

Categories

Find more on Multidimensional Arrays 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!