MSE = getMSE(x,y)
Computes the Mean Squared Error (MSE) between two vectors x and y of same length.
INPUT :
x : can be a function Interpolating the data points in 'y'. It is a < N y 1 > vector, typically resulting
from the application of 'polyfit' and 'polyval' functions.
y : can be observed data points for which I want to find the best-fitting function
(i.e. minimizing MSE, but avoiding overfitting). it's a < N y 1 > vector
OUTPUT :
MSE : Mean-Squared Error (a scalar).
Cita come
Ruggero G. Bettinardi (2026). getMSE(x,y) (https://it.mathworks.com/matlabcentral/fileexchange/62956-getmse-x-y), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
