RMSE | Invalid Characters
Afficher commentaires plus anciens
Hi
I am not sure, why it tell me the below has invalid characters.
function r = rmse(data,k)
r = sqrt(sum((data(:)-k(:)).^2)/numel(data))
end
1 commentaire
KSSV
le 7 Mai 2018
What input you tried?
Réponse acceptée
Plus de réponses (1)
Yuvaraj Venkataswamy
le 7 Mai 2018
Modifié(e) : Walter Roberson
le 7 Mai 2018
function r = RMSE(data,k)
Error=(data-k);
Squared_Error=Error.^2 ;
MSE=mean(Squared_Error);
r = sqrt(MSE);
end
Catégories
En savoir plus sur Linear Algebra 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!