help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NNLS function


From: Paul Roberts
Subject: NNLS function
Date: Tue, 7 Jun 2005 14:18:10 -0700

Hello,

I was wondering if there is a function in octave to perform
non-negative least squares. This is defined as:

Given matrix R and data vector y, 

find x such that ||y - Rx||^2 is minimised AND x >= 0 where ||.|| is the 2-norm

The equivalent function in matlab is called lsqnonneg.

Thanks,

Paul



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]