Define x,y,z and evaluate them.

Answers (1)

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

Asked:

on 9 Feb 2021

Answered:

on 9 Feb 2021

Community Treasure Hunt

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

Start Hunting!