could anyone help me how to compute the mean square error between two cell.
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
jaah navi
am 18 Jul. 2021
5 Kommentare
Walter Roberson
am 18 Jul. 2021
mean(cell2mat(D))
Walter Roberson
am 18 Jul. 2021
However, this has no relationship to mean squared error.
jaah navi
am 18 Jul. 2021
Walter Roberson
am 18 Jul. 2021
cellfun(@(a,b) mean(sum(a(:)-b(:)).^2), A, B)
jaah navi
am 19 Jul. 2021
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!