Variables and Assignment Statements:
A variable is used in order to store a value in a MATLAB session, or in a program. The Workspace Window represents variables which have been formed. One easy way to create a variable is to use an assignment statement. The format is as described below:
variablename = expression
The variable is always on the left, followed by the assignment operator, = (dissimilar in mathematics, the single equal sign does not mean the equality), followed by an expression.