Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Short script that calculates root mean square error from data vector or matrix and the corresponding estimates.
Checks for NaNs in data and estimates and deletes them and then simply does:
r = sqrt( sum( (data(:)-estimate(:)).^2) / numel(data) );
That's it.
Zitieren als
Felix Hebeler (2026). RMSE (https://de.mathworks.com/matlabcentral/fileexchange/21383-rmse), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: rmse(true_values, prediction)
Allgemeine Informationen
- Version 1.1.0.0 (466 Bytes)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Updated description and code for better readability and
|
||
| 1.0.0.0 | By popular demand: using sum(data(:)) instead of sum(sum(data)). Thanks! |
