Writing RMSE fomula in Matlab

조회 수: 1 (최근 30일)
Amir Hamzah
Amir Hamzah 2022년 5월 26일
댓글: Amir Hamzah 2022년 5월 26일
How to code this RMSE in matlab. Im stuck to do sum of series because it have double argrument.
N = length of signal
  댓글 수: 2
Torsten
Torsten 2022년 5월 26일
Are you sure you set the brackets correcty in the formula ?
Amir Hamzah
Amir Hamzah 2022년 5월 26일
N = length(alldata);
TrainingAccuracy = sqrt((symsum(((Y - T).^2),N,1,N))/N);
is it correct?

댓글을 달려면 로그인하십시오.

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Get Started with Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by