ABSTRACT

MATLAB has a very powerful way to define variables. Most programming languages have to define variables before they are used for the first time. MATLAB does not need to do that. Each variable is defined as it is used. If in a procedure we need to define the variable Y0, it is defined the first time we use it. Thus, if we write

>> Y0 = 1

Y0 = 1

This variable has that value until we change its value or we delete it with the instruction clear Y0.