In MATLAB, we use the equal sign to assign values to a variable.
>> u = 9
Henceforth, MATLAB always takes the value of the variable u as 9. For example:
>> u*2 – 2*u + u
Note that MATLAB never forgets used variables unless instructed to do so. We can check the current value of a variable by simply typing its name.
The transpose operator swaps the row and columns of any array that it is applied to.
>> f = [1:4]’