residual sum of squares for matrix 7x1

I have a 14x1 matrix, I don't know how to compute the squares of the residuals. thank you.

3 Comments

What do you mean by residual?
Do you mean you are fitting an equation? What MATLAB function(s) are you using to do that?
Is it a 7x1 or a 14x1 VECTOR anyway? We cannot read your mind.
To compute the sum of squares of residuals you...
1. Compute the residuals. Note that you cannot compute a residual without the existence of TWO sets of numbers, thus the actuals and the predicted.
2. Square them
3. Form the sum
In which step are you having problems?

Sign in to comment.

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 28 Nov 2017

Edited:

on 28 Nov 2017

Community Treasure Hunt

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

Start Hunting!