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
Hello,
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 ?
0 Comments
Answers (1)
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
syms beta
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!