diff options
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 |