diff options
Diffstat (limited to 'src/Matlab/supp')
-rw-r--r-- | src/Matlab/supp/RMSE.m | 7 | ||||
-rw-r--r-- | src/Matlab/supp/my_red_yellowMAP.mat | bin | 0 -> 1761 bytes |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/Matlab/supp/RMSE.m b/src/Matlab/supp/RMSE.m new file mode 100644 index 0000000..002f776 --- /dev/null +++ b/src/Matlab/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 diff --git a/src/Matlab/supp/my_red_yellowMAP.mat b/src/Matlab/supp/my_red_yellowMAP.mat Binary files differnew file mode 100644 index 0000000..c2a5b87 --- /dev/null +++ b/src/Matlab/supp/my_red_yellowMAP.mat |