hi,
Can someone please tell me how to correct the following code.
x = [yt,r];a = eye(2);b = zeros(2,1);opts = optimset('lsqlin');opts.LargeScale = 'off';opts.Display = 'none';coef = lsqlin(x,yt2,-a,-b);
My x is a 1000*2 matrix. so i get an error. I read the help for that but couldn't understand it clearly.
thanks.
Best Answer