Summary
In this lesson you have:
- learnt about MATLAB's wide range of elementary mathematical functions;
- learnt that many of MATLAB's functions accept a vector as input, creating a vector as output, where the function has been evaluated at each element of the input vector;
- learnt how to write an anonymous function using the @ operator;
- learnt how to use element by element operators .*, ./ and .^ to write an anonymous function that can accept a vector as input;
- learnt how to pass the name of an anonymous function to a MATLAB function that requires a function as input.
MATLAB online test 4
You should now complete MATLAB online test 4 which you will find on Mobius .