Borrar filtros
Borrar filtros

Can fmincon (optimization tool) be used over one variable.?

1 visualización (últimos 30 días)
I am taking uniform thickness of a singly curved cylindrical Shell as a design variable for optimization with Static(Vertical deflection) and dynamic(frequency) as Constraints.

Respuesta aceptada

Alan Weiss
Alan Weiss el 4 de Feb. de 2013
Yes.
However, I am not sure that this is the answer you wanted. Feel free to ask again with more detail. Meanwhile, you might be able to answer some of your own questions by looking at examples in the documentation.
Alan Weiss
MATLAB mathematical toolbox documentation
  4 comentarios
Alan Weiss
Alan Weiss el 11 de Feb. de 2013
Usually a single-variable problem falls in the domain of fminbnd. But if you really want to use fmincon:
lb = 5;
ub = 15;
x0 = 10;
[x,fval] = fmincon(@sin,x0,[],[],[],[],lb,ub)
Alan Weiss
MATLAB mathematical toolbox documentation

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by