Define x,y,z and evaluate them.
Show older comments
Answers (1)
James Tursa
on 9 Feb 2021
You can define variables simply by typical assignment. E.g.,
x=5;
y=4;
etc.
You can use * for multiply and ^ for exponentiation. E.g.,
2*x+3*y^2
etc.
Categories
Find more on Programming 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!