rmse(true_values, prediction)

rmse calculation

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/54860-rmse-true_values-prediction), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: RMSE

Categories

Find more on Model Predictive Control Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

The check of input arrays size added.

1.1.0.0

The case with one prediction and many true_values is now possible + input dimension check added

1.0.0.0