RMSE | Invalid Characters
Ältere Kommentare anzeigen
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 Kommentar
KSSV
am 7 Mai 2018
What input you tried?
Akzeptierte Antwort
Weitere Antworten (1)
Yuvaraj Venkataswamy
am 7 Mai 2018
Bearbeitet: Walter Roberson
am 7 Mai 2018
function r = RMSE(data,k)
Error=(data-k);
Squared_Error=Error.^2 ;
MSE=mean(Squared_Error);
r = sqrt(MSE);
end
Kategorien
Mehr zu Linear Algebra 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!