Minimizing a objective function, which includes an integral with argument 'x' and some unknown variables.
Mostrar comentarios más antiguos
Objective function:
f1=
f2=
R1, R2 are the unknown variables whose values are to be optimized so that the objective function get maximized (-minimized).
Ws,Ss1,Ss2 are constants.
How to declare R1 and R2?
Declared x as syms, R1 and R2 if declared as optimvar then error is must be floating scalers, if declared as syms then converting the expression to numeric is showing error (vpa, double) as explicit exp is not possible to convert.
Thanks for answering in advance
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!