Did anyone use "x = lsqnonneg(C,d,options)" function mathematically?

조회 수: 1 (최근 30일)
I have trouble with use "x = lsqnonneg(C,d,options)" mathematically especially "options" ... options = optimset('param1',value1,'param2',value2,...)
Thanks in advance
Riyadh

채택된 답변

Walter Roberson
Walter Roberson 2016년 5월 8일
The only options accepted for lsqnonneg are listed at http://www.mathworks.com/help/matlab/ref/optimset.html as Display and TolX. Display has no effect on the calculation. TolX is described http://www.mathworks.com/help/matlab/math/setting-options.html#bt00l89-1
"TolX is a lower bound on the size of a step, meaning the norm of (xi – xi+1). If the solver attempts to take a step that is smaller than TolX, the iterations end."
Mathematics might be infinitely precise in theory, but reaching infinite precision can take an infinite amount of time, and the user might not need that precision. Besides, double precision cannot distinguish more than one part in 2^53; see http://www.mathworks.com/help/matlab/ref/eps.html
  댓글 수: 5
Riyadh Muttaleb
Riyadh Muttaleb 2017년 5월 4일
편집: Riyadh Muttaleb 2017년 5월 4일
Hello Walter, I would like to find the confidence interval for the results of "lsqnonneg", could you please help me?
Thanks in advance Riyadh

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by