Clear Filters
Clear Filters

Find RMSE of mvregress outputs

1 view (last 30 days)
lexi11
lexi11 on 8 Mar 2017
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!