Writing RMSE fomula in Matlab

1 visualización (últimos 30 días)
Amir Hamzah
Amir Hamzah el 26 de Mayo de 2022
Comentada: Amir Hamzah el 26 de Mayo de 2022
How to code this RMSE in matlab. Im stuck to do sum of series because it have double argrument.
N = length of signal
  2 comentarios
Torsten
Torsten el 26 de Mayo de 2022
Are you sure you set the brackets correcty in the formula ?
Amir Hamzah
Amir Hamzah el 26 de Mayo de 2022
N = length(alldata);
TrainingAccuracy = sqrt((symsum(((Y - T).^2),N,1,N))/N);
is it correct?

Iniciar sesión para comentar.

Respuestas (1)

DGM
DGM el 26 de Mayo de 2022
Assuming that the inputs are of comparable scale and of floating-point class:
rmse = sqrt(mean((A(:)-B(:)).^2))

Categorías

Más información sobre Get Started with Signal Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by