Robustfit and computing an R-squared

Hello,
I am trying to compute an R-squared for the regression I run using the robustfit command. I am trying to use suggestions I have seen on here, but I keep getting an error because my matrix dimensions don't agree.
Can anyone tell me how to compute and R-squared if my matrix of indepedant variables is N x 3 in dimension?
-Janis

Answers (0)

Asked:

on 14 Jan 2013

Community Treasure Hunt

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

Start Hunting!