nlsq & nnnlsq Least squares

버전 1.0.0.0 (52.7 KB) 작성자: Bill Whiten
Robust & non negative non linear least squares: nlsq & nnnlsq
다운로드 수: 636
업데이트 날짜: 2017/12/31

라이선스 보기

Robust & non negative non linear least squares: nlsq & nnnlsq
nlsq Robust non linear least squares
uses singular value decomposition and attempts
a solution to singular and near singular cases.
nnnlsq Robust non negative non linear least squares
uses robust version of nnls and constrains parameters
to be positive.
Both can be used with regularisation techniques to solve
ill conditioned problems.
p=nlsq(@fnct,data,p0) % robust non linear least squares
p=nnnlsq(@fnct,data,p0) % non linear non negative least squares
where
err=fnct(p,data) calculates a vector of error terms for parameters p,
optionally [err,der]=fnct(p,data) for given derivatives.
data contains all the values needed by fnct to calculate
the error terms s. Can be any type but typically a struct.
p0 is an initial value for the parameters p. Note for singular
cases fitted parameters p may vary with p0

For regularisation append in fnct a small multiple of p to the error
terms calculated.

See nlsqdemo.html, doc nlsq, doc nnnlsq

Includes:
38003 nnls - Non negative least squares
38881 Optional function arguments

Will run ok in earlier Matlab versions.

인용 양식

Bill Whiten (2024). nlsq & nnnlsq Least squares (https://www.mathworks.com/matlabcentral/fileexchange/52616-nlsq-nnnlsq-least-squares), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Added image
Signal processing toolbox not required