Calculate rmse between two arrays of the same size or between one array and a number. Ignore records with NaNs in either true_values or prediction.
Cite As
Lukas Pop (2026). rmse(true_values, prediction) (https://ch.mathworks.com/matlabcentral/fileexchange/54860-rmse-true_values-prediction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Model Predictive Control Toolbox in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: RMSE
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
