MATLAB rmse

The rmse function calculates root mean squared errors.


Usage

To calculate the root mean squared errors between two vectors representing predictions ('forecasts') and actual values, try:

rmse(F,A)

To calculate the root mean squared errors between all elements in two same-sized matrices, try:

rmse(F,A,"all")

Note that this is effectively the same as calculating the Frobenius product as norm(F-A,"fro").


CategoryRicottone