functions

Built-in Functions
• Matlab has a large library of functions.
• To call a function, the name of the function is given
followed by the arguments that are passed to the
function in the parentheses.
e.g
>> sqrt(81)
Function
name
(value 9 would be returned)
argument
>> rem(15,4)
(value 3 would be returned)
37