diff options
author | Pasca <edoardo.pasca@stfc.ac.uk> | 2017-03-29 16:46:28 +0100 |
---|---|---|
committer | Pasca <edoardo.pasca@stfc.ac.uk> | 2017-03-29 16:46:28 +0100 |
commit | b325933591cd1d0d534a90ad5a417c2d03a0c6f3 (patch) | |
tree | 716a1c5eab60dfe0622b7f98e6e3b8056cdcae51 /supp/RMSE.m | |
download | regularization-b325933591cd1d0d534a90ad5a417c2d03a0c6f3.tar.gz regularization-b325933591cd1d0d534a90ad5a417c2d03a0c6f3.tar.bz2 regularization-b325933591cd1d0d534a90ad5a417c2d03a0c6f3.tar.xz regularization-b325933591cd1d0d534a90ad5a417c2d03a0c6f3.zip |
Initial revision
Diffstat (limited to 'supp/RMSE.m')
-rw-r--r-- | supp/RMSE.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/supp/RMSE.m b/supp/RMSE.m new file mode 100644 index 0000000..734e4b8 --- /dev/null +++ b/supp/RMSE.m @@ -0,0 +1,7 @@ +function err = RMSE(signal1, signal2) +%RMSE Root Mean Squared Error + +err = sum((signal1 - signal2).^2)/length(signal1); % MSE +err = sqrt(err); % RMSE + +end
\ No newline at end of file |