Summary
In this lesson you have:
- seen how arithmetic expressions are evaluated in MATLAB and how to use brackets to get the desired result or make an expression clearer;
- learnt how to enter numbers using scientific notation;
- learnt how to change the format of the answer displayed in the MATLAB command window;
- learnt that MATLAB works with complex numbers, how to enter complex numbers and how to find real and imaginary parts;
- learnt about Inf (infinity) and Nan (Not a Number);
- had a first look at the MATLAB functions sqrt, exp, log and the constant pi.
MATLAB online test 1
You should now complete MATLAB online test 1 which you will find on Mobius .