MATLAB Answers

How do I optimise a logarithmic (log) function in Matlab?

6 views (last 30 days)
Harry Hancock
Harry Hancock on 11 Aug 2021
Answered: Alan Weiss on 11 Aug 2021
Hi,
I would like to optimise the following function. It is said to be cvx however i look for examples on matlab and cannot find one where a log function is used from this paper: https://ieeexplore.ieee.org/document/9014076

Answers (1)

Alan Weiss
Alan Weiss on 11 Aug 2021
It depends on which variables you can change in your optimization process, and whether there are any constraints such as bounds. There are plenty of examples of optimizing nonlinear functions in the documentation. See any example in the Nonlinear Optimization category.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

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

Start Hunting!