could anyone help me how to compute the mean square error between two cell.
Mostrar comentarios más antiguos
I am having two cell A and B in the attached data.mat.
I want to compute the mean square error between A and B in data.mat.
Could anyone please help me on this.
Respuesta aceptada
Más respuestas (1)
jaah navi
el 18 de Jul. de 2021
5 comentarios
Walter Roberson
el 18 de Jul. de 2021
mean(cell2mat(D))
Walter Roberson
el 18 de Jul. de 2021
However, this has no relationship to mean squared error.
jaah navi
el 18 de Jul. de 2021
Walter Roberson
el 18 de Jul. de 2021
cellfun(@(a,b) mean(sum(a(:)-b(:)).^2), A, B)
jaah navi
el 19 de Jul. de 2021
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!