From: Dushyant Kumar on
lsqnonneg works fine and returns resnorm of 9 10^-8

while lsqlin returns peaky solution and the resnorm of 1.12 10^-5. The returned solution in this case is ok, not as good as in the case of lsqnonneg.

Since the problem is large scale, I am under impression that I can not use lsqnonneg. I would like to use lsqlin.

I can not control resnorm using TolX, TolFun etc. Any help is appreciated.

Detail discussion of my problem is:
http://docs.google.com/fileview?id=0B0Ah9soYnrlIOWRlMGE1M2MtYjNkNy00NWI0LTlhNWQtMDkwMThiMWE1MzNj&hl=en

The code is at:
http://docs.google.com/leaf?id=0B0Ah9soYnrlIN2MzN2QyNDctYWVmYy00OWE4LWI2ZTUtMDZkMTRmYTBjZDRi&hl=en
From: Dushyant Kumar on
Any help would be appreciated...