将MATLAB当做计算器使用
MATLAB Programming Modes
使用MATLAB的两种方式:
- Command line (in command window)
- Scripts (.m files)
MATLAB as A Calculator
operators: + - * / ^
优先级:() > ^ > * / > + -
ln -> log e -> exp(1)
Elementry Math Function(基本数学函数)
......
Embedding Function(嵌套函数)
......
Variable(变数)
MATLAB中变数不需要宣告
变数 = 变数/常数
Numeric Variable (Data)Type
默认类型为double