From: Wayne King on
"Natasha " <lexna5(a)nottigham.ac.uk> wrote in message <hkundc$5t9$1(a)fred.mathworks.com>...
>
> Thanks Wayne.
>
> The sse code in line 169 looks like
>
> function ss=sse_calc(y,x)
> e=y-x*(y'/x')';
> ss=e'*e;
>
> Thanks
> Natasha

OK, so you most likely have a problem with your x variable in the calculation of the residuals.That x is coming from somewhere, it may well be called something different outside of the function definition. It's being passed to that function somewhere above. You need to make sure you're not doing something wrong in the way you're defining your x (looks like probably the design matrix for your least squares problem).

Wayne
From: Natasha on

Thanks Wayne.

But do you know how do I solve this problem?

Thanks
N.
From: Wayne King on
"Natasha " <lexna5(a)nottigham.ac.uk> wrote in message <hl15b4$8qj$1(a)fred.mathworks.com>...
>
> Thanks Wayne.
>
> But do you know how do I solve this problem?
>
> Thanks
> N.

Hi Natasha, I'm sorry without having the MATLAB code and data. I can't specifically tell you how to solve the problem.

Wayne
From: Natasha on

I can share with you the m-file???
First  |  Prev  | 
Pages: 1 2
Prev: griddata - NaN
Next: Help, Fsk and Bpsk.