Define x,y,z and evaluate them.

5 views (last 30 days)
Musa Khan
Musa Khan on 9 Feb 2021
Answered: James Tursa on 9 Feb 2021

Answers (1)

James Tursa
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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!