Borrar filtros
Borrar filtros

removing fsolve completion message

3 visualizaciones (últimos 30 días)
Mohammad Yunus Ali
Mohammad Yunus Ali el 5 de Mzo. de 2011
Comentada: Steven Lord el 25 de Feb. de 2023
[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

Respuestas (2)

Walter Roberson
Walter Roberson el 5 de Mzo. de 2011
Use the options argument to fsolve to specify an optimset that has Display turned off. See the options description

Fazlollah
Fazlollah el 25 de Feb. de 2023
Use this for the fsolve options
options = optimset('Display','off');
  1 comentario
Steven Lord
Steven Lord el 25 de Feb. de 2023
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.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by