Code for calculating root mean squared error for data

This is a simple code which accurately calculates RMS error for real or complex data.
1,2K Downloads
Aktualisiert 11. Jul 2013

Lizenz anzeigen

er = rms_error(A1,A2)

here A1, A2 are original and reconstructed data. The order of A1,A2 doesn't matter, interchanging them will also give same result.

Zitieren als

Kamlesh Pawar (2024). Code for calculating root mean squared error for data (https://www.mathworks.com/matlabcentral/fileexchange/33595-code-for-calculating-root-mean-squared-error-for-data), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2007b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.4.0.0

modified to display proper message while matrix dimension mismatch.

1.3.0.0

No update in the code, only changed the description of code

1.2.0.0

for loops were eliminated for fast implementation.

1.0.0.0