필터 지우기
필터 지우기

removing fsolve completion message

조회 수: 3 (최근 30일)
Mohammad Yunus Ali
Mohammad Yunus Ali 2011년 3월 5일
댓글: Steven Lord 2023년 2월 25일
[EDIT: 20110513 00:14 CDT - reformat - WDR]
Using fsolve command i got a output but it has some text . I don't want to see these text like below. Pls help anybody.
*Equation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
Step X1_n1 X2_n1 X3_n1 X4_n1 X5_n1 X1_n X2_n X3_n X4_n X5_n H1 H2 H3 H4 H5
*Equation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>* 1.00000 0.11330 0.00844 0.00070 0.00307 0.00233 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000

답변 (2개)

Walter Roberson
Walter Roberson 2011년 3월 5일
Use the options argument to fsolve to specify an optimset that has Display turned off. See the options description

Fazlollah
Fazlollah 2023년 2월 25일
Use this for the fsolve options
options = optimset('Display','off');
  댓글 수: 1
Steven Lord
Steven Lord 2023년 2월 25일
Creating the options structure is not sufficient. optimset does not "change a global setting" or anything like that; it creates a structure that when passed into an optimization function will affect how that function call behaves.

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

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by