Why are these two RMSE yield different results?
2 次查看(过去 30 天)
显示 更早的评论
LM_error= sqrt(mean(((trueLm-estLm).^2),2));
LM_error= sqrt(sum(((trueLm-estLm).^2),2)/length(data));
0 个评论
回答(1 个)
Image Analyst
2018-4-8
编辑:Image Analyst
2018-4-8
Why should they be? The first method does not even use the array called data at all so it doesn't surprise me that they are different.
And why not simply use immse()?
5 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!