1-1, basic operations and functions
Basic mathematical operations under MATLAB, simply enter the mode directly into the prompt number (>>), and press Enter. E.g:
>> (5 * 2 1.3-0.8) * 10/25
ANS =
4.2000
MATLAB stores the calculation results directly into a variable ANS to represent the answer (Answer) after the MATLAB operation and display its value on the screen. (For the sake of simplicity, in the following examples, we no longer printed the MATLAB's prompt number.)
hint:
"