Find RMSE of mvregress outputs

1 次查看(过去 30 天)
lexi11
lexi11 2017-3-8
Hi,
I am trying to use multivariate regression on three color channel data using mvregress.
data = [red;green;blue]; % this is a 3x20 matrix
Y = data';
X = requiredOutput'; % requiredOutput is a 1x20 vector
[beta,Sigma, resid] = mvregress(X,Y)
After performing this, I need to find RMSE for this regression.
How can I do this?
Thanks in advance.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by