Assign/declare a variable in MATLAB
In MATLAB,every variable is an array or matrix. Here is an example that you’ll understand how to assign variables in a simple way.
a = 5; b = 10; c = a * b
c = 50