Writing RMSE fomula in Matlab

1 vue (au cours des 30 derniers jours)
Amir Hamzah
Amir Hamzah le 26 Mai 2022
Commenté : Amir Hamzah le 26 Mai 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 commentaires
Torsten
Torsten le 26 Mai 2022
Are you sure you set the brackets correcty in the formula ?
Amir Hamzah
Amir Hamzah le 26 Mai 2022
N = length(alldata);
TrainingAccuracy = sqrt((symsum(((Y - T).^2),N,1,N))/N);
is it correct?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Get Started with Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by