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)
Show older comments
Nordine Bouchelia on 22 Apr 2022
Commented: Nordine Bouchelia on 23 Apr 2022
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
Find more on Labels and Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!