In this chapter, you will start learning how to use MATLAB to do mathematics. We recommend that you read this chapter while running MATLAB. Try the commands as you go along. Feel free to experiment with variants of the examples we present; the best way to find out how MATLAB responds to a command is to try it.
For further practice, you can work the problems in Practice Set A. You may also consult the Glossary for a synopsis of many MATLAB operators, constants, functions, commands, and programming instructions.
Input and Output
You input commands to MATLAB in the Command Window. MATLAB returns output in two ways: typically, ...