Why are these two RMSE yield different results?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
LM_error= sqrt(mean(((trueLm-estLm).^2),2));
LM_error= sqrt(sum(((trueLm-estLm).^2),2)/length(data));
0 commentaires
Réponses (1)
Image Analyst
le 8 Avr 2018
Modifié(e) : Image Analyst
le 8 Avr 2018
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 commentaires
Voir également
Catégories
En savoir plus sur Robotics dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!