RMSE | Invalid Characters
Show older comments
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 Comment
KSSV
on 7 May 2018
What input you tried?
Accepted Answer
More Answers (1)
Yuvaraj Venkataswamy
on 7 May 2018
Edited: Walter Roberson
on 7 May 2018
function r = RMSE(data,k)
Error=(data-k);
Squared_Error=Error.^2 ;
MSE=mean(Squared_Error);
r = sqrt(MSE);
end
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!