Borrar filtros
Borrar filtros

How to find the average of mean square error?

1 visualización (últimos 30 días)
Eric Chua
Eric Chua el 8 de Jun. de 2020
Comentada: Eric Chua el 8 de Jun. de 2020
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?

Respuesta aceptada

Adam Danz
Adam Danz el 8 de Jun. de 2020
Editada: Adam Danz el 8 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by