could anyone help me how to compute the mean square error between two cell.
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
jaah navi
2021 年 7 月 18 日
5 件のコメント
Walter Roberson
2021 年 7 月 18 日
mean(cell2mat(D))
Walter Roberson
2021 年 7 月 18 日
However, this has no relationship to mean squared error.
jaah navi
2021 年 7 月 18 日
Walter Roberson
2021 年 7 月 18 日
cellfun(@(a,b) mean(sum(a(:)-b(:)).^2), A, B)
jaah navi
2021 年 7 月 19 日
カテゴリ
ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!