Writing RMSE fomula in Matlab

1 visualizzazione (ultimi 30 giorni)
Amir Hamzah
Amir Hamzah il 26 Mag 2022
Commentato: Amir Hamzah il 26 Mag 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 Commenti
Torsten
Torsten il 26 Mag 2022
Are you sure you set the brackets correcty in the formula ?
Amir Hamzah
Amir Hamzah il 26 Mag 2022
N = length(alldata);
TrainingAccuracy = sqrt((symsum(((Y - T).^2),N,1,N))/N);
is it correct?

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Get Started with Signal Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by