Computers are very proficient at performing mathematical calculations with numbers.
This is important and helpful when working with a digital audio signal, which is nothing more than a sequence of numbers.
The Matlab programming language treats numerical information differently than other types of information. It is necessary for a programmer to understand this, and anticipate how a computer deals with different data types.
When a single number is assigned to a variable, it is called a scalar. Eventually we will also look at a type of variable that is assigned a sequence of numbers, called an array.
Besides numbers, our programming language can also work with text. Let’s take a look at how text can be assigned to a string variable.