Prev: griddata - NaN
Next: Help, Fsk and Bpsk.
From: Wayne King on 10 Feb 2010 12:02 "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 11 Feb 2010 09:48 Thanks Wayne. But do you know how do I solve this problem? Thanks N.
From: Wayne King on 11 Feb 2010 10:11 "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 11 Feb 2010 10:19
I can share with you the m-file??? |