could anyone help me how to compute the mean square error between two cell.
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
jaah navi
le 18 Juil 2021
5 commentaires
Walter Roberson
le 18 Juil 2021
mean(cell2mat(D))
Walter Roberson
le 18 Juil 2021
However, this has no relationship to mean squared error.
jaah navi
le 18 Juil 2021
Walter Roberson
le 18 Juil 2021
cellfun(@(a,b) mean(sum(a(:)-b(:)).^2), A, B)
jaah navi
le 19 Juil 2021
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!