Symbolic toolbox doesn't work with abs() and max()?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using fmincon dealing with a nonlinear constraint optimization problem, one function contain abs(a) and another function contains max(Z, 0), both "a" and "Z" are scalar values. I want to create symbolic Jacobians for my constraint function to fmincon to make the whole algorithm more robust and faster, but it shows these "abs()" and "max()" cannot be used in symbolic toolbox. I used "max(Z, 0)" because one of the function is not defined and not physically meaningful once its value becomes negative.
Thanks a lot for helping.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!