Writing RMSE fomula in Matlab

1 Ansicht (letzte 30 Tage)
Amir Hamzah
Amir Hamzah am 26 Mai 2022
Kommentiert: Amir Hamzah am 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 Kommentare
Torsten
Torsten am 26 Mai 2022
Are you sure you set the brackets correcty in the formula ?
Amir Hamzah
Amir Hamzah am 26 Mai 2022
N = length(alldata);
TrainingAccuracy = sqrt((symsum(((Y - T).^2),N,1,N))/N);
is it correct?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Get Started with Signal Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by