Practical 2: Variables, Script M-files and Graphing
Variables
Variables must be assigned values in the following format before they can be used in an expression.
<variable name> = <valid expression>
![]() |
What this statement means is that the left hand side of an equals sign is always a variable name, say, x. The right hand side is an expression representing a new value to be assigned to that variable.