I have to solve for a maximization problemwith greek letters and simplify the expression but I don't know how to proceed
2 views (last 30 days)
I'd like to know how to insert greek letters in the command window to solve a maximization problem and also to simplify an expression. Actually, I don't need matlab to maximize but to simplify expressions with greek letters. Could you help me please ?
Andres on 22 Apr 2022
Edited: Andres on 22 Apr 2022
To simplify expressions you need the Symbolic Math Toolbox in Matlab
or another computer algebra system
A greek letter inside a variable name throws an error
>> syms β
Error using syms
Invalid variable name.
so use a valid variable name instead like